You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please specify what version of the library you are using: [ 1.18.0 ]
Expected / Desired Behavior / Question
When 12AM and 12PM are chosed in the drop down, returns date object with proper time value.
Observed Behavior
When selecting time in the drop down, if 12 PM is chosen, date is returned as midnight (12AM) and if 12 AM is selected in drop down, noon (12PM) is returned.
I believe the only change needed is switching pm in the if statement to am. I believe this is the same or a similar issue to #402. I will test this fix then create a PR for review.
Steps to Reproduce
Use DateTime picker with 12 hour format and select 12PM or 12AM and view date object.
The text was updated successfully, but these errors were encountered:
Category
[ ] Enhancement
[X ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ 1.18.0 ]
Expected / Desired Behavior / Question
When 12AM and 12PM are chosed in the drop down, returns date object with proper time value.
Observed Behavior
When selecting time in the drop down, if 12 PM is chosen, date is returned as midnight (12AM) and if 12 AM is selected in drop down, noon (12PM) is returned.
I believe the only change needed is switching pm in the if statement to am. I believe this is the same or a similar issue to #402. I will test this fix then create a PR for review.
Steps to Reproduce
Use DateTime picker with 12 hour format and select 12PM or 12AM and view date object.
The text was updated successfully, but these errors were encountered: