Date Picker max and min dates only affect which dates you can choose, not which time of day

Using two date pickers to represent a publish and unpublish time, we want the publishing time to never be after the unpublish time.

We’ve set the max date on the publish date Date Picker to the value of the unpublish date, and the min date on the unpublish date Date Picker to the value of the publish date.

This correctly affects which calendar days the users can select, but the time of day is unaffected, meaning users can enter an unpublishing time before the publishing time:

Hi! You are right, min and max date do not currently consider the time of day. This limitation is mentioned in our docs.

It appears that this was originally a limitation with our underlying UI library, but it is now supported. I will register a feature request internally to also support this in Create. Thank you for bringing it up!

2 Likes