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

[whatwg] input type=date

From: Schalk Neethling <sneethling@mozilla.com>
Date: Thu, 12 Jan 2012 10:44:41 -0800 (PST)
Message-ID: <40d35995-b461-4604-83d7-ff0023142122@sneethling-05169.local>
yep, that answers my question but, is there any work done to perhaps add an attribute where the author can specify the date format they require/want?

Thanks, Scott

----- Original Message -----
From: "Scott Gonz?lez" <scott.gonzalez@gmail.com>
To: "Schalk Neethling" <sneethling at mozilla.com>
Cc: whatwg at lists.whatwg.org
Sent: Thursday, January 12, 2012 8:39:21 PM
Subject: Re: [whatwg] input type=date

I think the following note answers your question: 

"Note: The format shown to the user is independent of the format used for form submission. Browsers are encouraged to use user interfaces that present dates according to the conventions of the user's preferred locale." - http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#date-state-(type=date) 



On Thu, Jan 12, 2012 at 1:33 PM, Schalk Neethling < sneethling at mozilla.com > wrote: 


Hey all, 

Asked this on IRC and got no response so here goes: 

Is there a way to specify the locale input type=daye should use or does it simply use the current locale? If so, does it choose the server locale or the user locale? 

Kind Regards, 
Schalk 
Web Developer @ Mozilla 
Received on Thursday, 12 January 2012 10:44:41 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:10 UTC