html5 - Why don't datetime fields with ISO 8601 values work in iOS webkit browsers? -


why doesn't following datetime field display current value in safari or phonegap in ios?

<input type="datetime" value="2013-05-22t10:00:00+0000" /> 

it displays blank value.

in ios, datetime input fields work values in utc, , zulu timezone designation. neither local times nor utc times +0000 offset acceptable. inclusion of milliseconds in time acceptable.

the following values work:

<input type="datetime" value="2013-05-22t10:00:00z" /> <input type="datetime" value="2013-05-22t10:00:00.000z" /> 

none of these work:

<input type="datetime" value="2013-05-22t10:00:00+0000" /> <input type="datetime" value="2013-05-22t10:00:00.000+0000" /> <input type="datetime" value="2013-05-22t10:00:00-0700" /> <input type="datetime" value="2013-05-22t10:00:00.000-0700" /> <input type="datetime" value="2013-05-22t10:00:00" /> <input type="datetime" value="2013-05-22t10:00:00.000" /> 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -