-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DateTimePicker
: set PM hours correctly (#36878)
* DateTimePicker: Extract `from12hTo24h` function * DateTimePicker: correctly convert hours from 12 to 24 format when updating the time * CHANGELOG * Only apply the value adjustment when the hours input updates * Add unit test to check setting hours with PM period selected * Update unit test on the assumption that 12am should be intended as midnight
- Loading branch information
1 parent
a72da92
commit 3a9eb13
Showing
3 changed files
with
50 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters