[whatwg] 'datetime-local' and 'datetime' comments
Nicolas Froidure
froidure_nicolas at yahoo.fr
Tue Nov 20 02:27:24 PST 2012
On 20/11/2012 07:17, Ian Hickson wrote:
> a date/time picker that works just like the
> one without a timezone, except that it then converts the time you give
> into UTC.
>
That's exactly the behavior i would like to have. From the server side
it seems nice.
The bad is that Javascript Date objects are initialized with local time
and prints local time (toString
<https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/toString>).
Web developers could expect the same behavior for date inputs and date
objects.
Regards, Nicolas Froidure.
More information about the whatwg
mailing list