[whatwg] input type=date

Schalk Neethling sneethling at mozilla.com
Thu Jan 12 10:44:41 PST 2012

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 at 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, 
Web Developer @ Mozilla 

More information about the whatwg mailing list