W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] 'datetime-local' and 'datetime' comments

From: Nicolas Froidure <froidure_nicolas@yahoo.fr>
Date: Tue, 20 Nov 2012 11:27:24 +0100
Message-ID: <50AB5B0C.9050109@yahoo.fr>
To: whatwg@lists.whatwg.org
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.
Received on Tuesday, 20 November 2012 10:46:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT