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

Mounir Lamouri mounir at lamouri.fr
Wed Nov 21 03:31:36 PST 2012

On 20/11/12 08:37, Nicolas Froidure wrote:
> 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.

Aren't you looking for this:


More information about the whatwg mailing list