[wp-trac] [WordPress Trac] #42373: Customizer: Can't Schedule 0:00 - 0:59 when 24-hour clock setting
WordPress Trac
noreply at wordpress.org
Mon Oct 30 16:39:11 UTC 2017
#42373: Customizer: Can't Schedule 0:00 - 0:59 when 24-hour clock setting
------------------------------+--------------------------
Reporter: atachibana | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9
Component: Customize | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+--------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"42042"]:
{{{
#!CommitTicketReference repository="" revision="42042"
Customize: Allow 0:00-0:59 in date/time control when 24-hour time used.
* Let min hour be 0 and max be 23 in 24-hour time; let min hour be 1 and
max be 12 in 12-hour time.
* Show error notification when an invalid date value is provided, not just
when not a future date.
* Fix translation of custom validity message.
* Start checking for validity after all inputs have been initially
populated.
* Remove support for being able to enter 24:00.
* Cease forcing date input elements from being casted to integers, to
allow for invalid inputs to be detected.
Props westonruter, Presskopp, peterwilsoncc, atachibana for testing.
See #39896, #28721.
Fixes #42373.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42373#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list