[whatwg] Why do we have <input type='month'> and <input type='week'>?
glenn at zewt.org
Fri Feb 1 07:39:53 PST 2013
On Thu, Jan 31, 2013 at 6:20 AM, Bruce Lawson <brucel at opera.com> wrote:
> The use-case for an input type I imagine is that a browser can have a
> select-like UI (Jan, Feb, March, April ...) which, in a French language
> browser becomes "Janvier, Fevrier, Mars, Avril .. " (or even Vendémiaire to
> Fructidor for FRC fans).
FYI, I would find this annoying. CC expiry entry forms are typically
select boxes containing 01-12. The text lines up with what's on my credit
card, so I don't have to translate "07" to "July" in my head when entering
it off of my card. Any month picker for credit card expiry dates should
always have month numbers (of course, names *in addition* to numbers are
fine, though probably pointless).
More information about the whatwg