[wp-trac] [WordPress Trac] #42373: Customizer: Can't Schedule 0:00 - 0:59 when 24-hour clock setting

WordPress Trac noreply at wordpress.org
Sun Oct 29 19:06:38 UTC 2017


#42373: Customizer: Can't Schedule 0:00 - 0:59 when 24-hour clock setting
--------------------------+------------------------------
 Reporter:  atachibana    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Presskopp):

 @westonruter

 Looks like this can easily get patched changing L.145 in

 class-wp-customize-date-time-control.php to

 <input id="{{ idPrefix }}date-time-hour" type="number" size="2"
 autocomplete="off" class="date-input hour" data-component="hour" min="0"
 max="{{ maxHour-1 }}">

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42373#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list