- Timestamp:
- 10/30/2017 04:39:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-date-time-control.php
r41750 r42042 142 142 <div class="time-fields clear"> 143 143 <label for="{{ idPrefix }}date-time-hour" class="screen-reader-text"><?php esc_html_e( 'Hour' ); ?></label> 144 <# var maxHour = data.twelveHourFormat ? 12 : 24; #> 145 <input id="{{ idPrefix }}date-time-hour" type="number" size="2" autocomplete="off" class="date-input hour" data-component="hour" min="1" max="{{ maxHour }}"> 144 <# var maxHour = data.twelveHourFormat ? 12 : 23; #> 145 <# var minHour = data.twelveHourFormat ? 1 : 0; #> 146 <input id="{{ idPrefix }}date-time-hour" type="number" size="2" autocomplete="off" class="date-input hour" data-component="hour" min="{{ minHour }}" max="{{ maxHour }}"> 146 147 <span class="time-special-char date-time-separator">:</span> 147 148 <label for="{{ idPrefix }}date-time-minute" class="screen-reader-text"><?php esc_html_e( 'Minute' ); ?></label>
Note: See TracChangeset
for help on using the changeset viewer.