Skip to content

Commit

Permalink
Limit release_time year to 4 digits (max year 9999)
Browse files Browse the repository at this point in the history
  • Loading branch information
miko committed Nov 28, 2024
1 parent 0839eef commit 6760d63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/component/publish/shared/publishReleaseDate/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ const PublishReleaseDate = (props: Props & StateProps & DispatchProps) => {
disableClock
clearIcon={null}
minDate={minDate}
maxDate={new Date(9999, 11, 31)}
/>
)}
{showDatePicker && (
Expand Down

0 comments on commit 6760d63

Please sign in to comment.