Skip to content

Conversation

@alexgo91
Copy link

@alexgo91 alexgo91 commented Sep 16, 2020

The timepicker displays today's date&time as default when its initial value is empty.
When using intervals for hours/minutes/seconds - today's time might not comply with these intervals, which leads to unexpected behaviors.

E.g. configure AnyPicker to use intervals: { h: 1, m: 15 }, and assume that the time now is 15:23.
The previous behavior will lead to bugs since the minutes value is not 0/15/30/45.

I suggest that the timepicker will use zeros when the hours/minutes/seconds value doesn't fit the interval.

Consider the configure intervals when defaulting to today's date.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant