pods icon indicating copy to clipboard operation
pods copied to clipboard

HTML5 Time Field Not Saving

Open Shelob9 opened this issue 11 years ago • 5 comments

Reported here:

https://wordpress.org/support/topic/time-field-with-enable-html5-input-field-not-saving?replies=1

Possibly related #2799

Shelob9 avatar Mar 20 '15 23:03 Shelob9

I have replicated this issue exactly as it is seen in the screencast. I am currently using WordPress Version 4.1.1 and Pods Version 2.5.1.2. I have simply added the time field to a random post type, checked the box for HTML5 (no extra setup) and yes, the field does not save any time.

NikV avatar Mar 20 '15 23:03 NikV

Found this error in the JS console: The specified value 'T22:30:00' does not conform to the required format. The format is 'HH:mm', 'HH:mm:ss' or 'HH:mm:ss.SSS' where HH is 00-23, mm is 00-59, ss is 00-59, and SSS is 000-999.

NikV avatar Mar 21 '15 00:03 NikV

Thanks, NikV. That is the same error my JS console is giving me.

joethomas avatar Mar 23 '15 21:03 joethomas

I'm going to nix regression because this behavior and the console notice go back at least 2 years. I'm unsure HTML5 time fields have ever worked.

pglewis avatar May 30 '15 06:05 pglewis

Typo? An embedded tab that was converted to "\T" maybe? Should be straightened out.

pglewis avatar May 30 '15 07:05 pglewis