Dates in JavaScript can represent 10^8 days from 1/1/1970 in either direction.
For more, see: http://www.merlyn.demon.co.uk/js-datex.htm#RoND
> I'd love to have a little more control over this. Perhaps adding:
> lang="fr"
No, please, don't! Leave the users in control, developers will just screw this up with country=language=locale logic.
Then the browser localizes for you what it can and you'll get a very ugly-looking page that is almost all in e.g. French and dates in English. Seen that with some CMS which auto-localize their UI but not content, obviously.
I'd love to have a little more control over this. Perhaps adding:
to the input element or even the <html> tag, could localize the input?The date picker runs from 01-01-0001 to 13-9-275760. Is this upper limit due to accuracy?
DateComponents.h