datetimepicker
datetimepicker copied to clipboard
Correct format for input datetime-local
I am using built-in html fields (date, time and datetime-local) because this types displays the values according to navigator locale automatically and stores a database friendly values
I try to set as format Y-m-d\TH:i
for datetime-local but this prints datetimes like 2016-07-22GMT+020012:10
How can I print this T char? (I tested c format too, but does not work with datetime-local)
I have the same issue with format: 'F jS Y \\a\\t h:m'
hey, i found the solution on https://github.com/xdan/datetimepicker/issues/272