flutter_datetime_picker icon indicating copy to clipboard operation
flutter_datetime_picker copied to clipboard

minTime and maxTime in the same day and hour fix

Open yu3fms opened this issue 4 years ago • 1 comments

Applies for "date-hour-min" user interface. Not tested with other UI picker variants.

Passing minTime and maxTime parameters that are in the same day causes maxTime hours and minutes to be set to the logical maximum i.e. 23/59. Passing minTime and maxTime parameters that are in the same hour causes minTime hours and minutes to be set to minimum hour from the parameter and minutes to be set to '0'.

This fix includes: Correctly set items in list for hour and minutes when minTime and maxTime are in the same day. Correctly set items in list for hour and minutes when minTime and maxTime are in the same hour.

yu3fms avatar Aug 21 '20 13:08 yu3fms

Hi there what does your fix do i don't understand

Aristidios avatar Dec 06 '21 19:12 Aristidios