by blauwbilgorgel · 14y ago · 0 comments
I'd love to have a little more control over this. Perhaps adding:
lang="fr"
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
static inline double maximumDate()
{ return 8640000000000000.0; } // 275760-09-13T00:00ZFor more, see: http://www.merlyn.demon.co.uk/js-datex.htm#RoND
No, please, don't! Leave the users in control, developers will just screw this up with country=language=locale logic.