-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TimePicker: Add
dateOrder
prop to sort day, month, and year (#62481)
* TimePicker: Add `dateOrder` prop to sort day, month, and year * Add changelog * Update unit tests * Fix grammar * Fix changelog * Refactoring * Update packages/block-library/src/post-date/edit.js Co-authored-by: Lena Morita <[email protected]> * Revert unwanted changes * `dateOrder` prop overwrites `is12Hour` prop * Add unit test * Clarify the documentation * Restore unit test * Improve test comment * Remove unnecessary is12Hour prop * Improve doc Co-authored-by: Lena Morita <[email protected]> * Simplify logic * Restore `is12Hour` prop * Adjust prop position * Remove `dateOrder` prop default value from `DateTimePicker` --------- Co-authored-by: t-hamano <[email protected]> Co-authored-by: tyxla <[email protected]> Co-authored-by: mirka <[email protected]> Co-authored-by: carstingaxion <[email protected]> Co-authored-by: ramonjd <[email protected]>
- Loading branch information
1 parent
2030d48
commit bcf2b35
Showing
8 changed files
with
141 additions
and
40 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
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
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