Weston Ruter
8f661ef667
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@42042 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-30 16:39:06 +00:00
..
2017-10-28 06:53:40 +00:00
2016-07-05 11:31:13 +00:00
2017-10-25 00:06:06 +00:00
2017-10-30 16:39:06 +00:00
2016-07-04 13:09:07 +00:00
2017-09-30 03:19:26 +00:00
2016-05-22 18:00:23 +00:00
2017-10-23 22:23:35 +00:00
2017-10-23 20:47:27 +00:00
2017-01-09 14:37:55 +00:00
2016-07-06 12:39:01 +00:00
2016-11-21 02:45:53 +00:00
2016-02-25 12:52:33 +00:00
2017-10-24 23:00:01 +00:00
2017-09-21 16:34:31 +00:00
2016-10-04 06:53:20 +00:00
2017-10-24 19:28:43 +00:00
2017-07-27 00:39:34 +00:00
2017-10-19 04:17:31 +00:00
2017-10-12 04:00:15 +00:00
2016-12-14 04:17:38 +00:00
2017-10-11 12:05:21 +00:00
2016-09-17 15:38:40 +00:00
2016-12-07 20:17:56 +00:00
2017-09-27 14:38:40 +00:00
2017-09-13 15:19:02 +00:00
2017-01-21 02:20:38 +00:00
2016-10-04 20:26:09 +00:00
2017-07-19 21:41:13 +00:00
2016-10-04 20:26:09 +00:00
2017-10-23 20:47:27 +00:00
2015-10-14 23:43:10 +00:00
2017-09-04 19:29:50 +00:00
2016-06-29 15:15:40 +00:00
2016-12-07 20:17:56 +00:00
2016-10-24 04:44:07 +00:00
2016-07-10 00:50:21 +00:00
2016-08-31 16:30:48 +00:00
2016-08-31 16:30:48 +00:00
2016-10-04 20:26:09 +00:00
2016-08-22 18:24:48 +00:00
2016-12-07 23:29:07 +00:00
2017-09-09 14:49:53 +00:00
2017-08-18 18:30:28 +00:00
2017-10-19 00:47:15 +00:00
2017-10-09 15:21:51 +00:00
2017-10-15 22:22:59 +00:00
2017-08-22 11:51:11 +00:00
2017-10-03 13:08:48 +00:00
2017-10-24 10:50:40 +00:00
2016-05-13 18:40:19 +00:00
2017-10-12 03:47:29 +00:00
2017-10-25 11:10:12 +00:00
2017-09-10 16:19:53 +00:00
2017-10-24 10:50:40 +00:00
2017-08-22 11:51:11 +00:00
2017-10-24 18:46:26 +00:00
2017-08-22 11:51:11 +00:00
2017-10-23 20:47:27 +00:00
2017-10-11 12:05:21 +00:00
2017-10-11 12:05:21 +00:00
2017-10-09 14:07:42 +00:00
2017-10-25 01:06:19 +00:00
2016-11-21 01:21:01 +00:00
2017-10-18 15:26:10 +00:00
2017-05-12 19:25:43 +00:00
2017-10-24 23:39:48 +00:00
2017-10-24 21:45:14 +00:00
2017-10-22 20:02:26 +00:00
2017-09-24 14:21:42 +00:00
2017-10-04 23:42:55 +00:00
2017-10-09 16:03:35 +00:00
2016-07-06 12:39:01 +00:00
2015-12-08 21:55:48 +00:00
2017-03-31 17:37:58 +00:00
2017-09-19 21:13:32 +00:00
2017-10-02 01:43:48 +00:00
2017-09-22 18:30:10 +00:00
2017-09-27 16:28:59 +00:00