I don't understand why I would need an <input type=year> to get this right though. If the bank wants something in <span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; ">年号 it can just let the user type in 1985 and convert that via JS to 昭和60年, no? If anything, having some sort of picker seems like it would be more complicated. </span><div>
<font class="Apple-style-span" face="sans-serif"><span class="Apple-style-span" style="line-height: 19px;"><br></span></font></div><div><font class="Apple-style-span" face="sans-serif"><span class="Apple-style-span" style="line-height: 19px;">Frankly, this seems a bit over-complicated. The number of times a user will be entering a year other than 1900->present has got to be infinitesimally small. In reflecting upon the years I've entered, it'a almost always been a living person's date of birth, some event I was scheduling, a date for something I was purchasing (e.g. airline ticket), or the present date. <br>
</span></font><br></div><div>I really don't know if it's worth spending time on something that is such a minor use case, and can frankly be handled fine without a dedicated input type. </div><div><br></div><div>And niwa-san, on every document I've ever filled out for the Japanese government, I've always written 1985<span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; ">年 instead of </span> <span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; ">昭和60年 and it's yet to cause me any problems ;-) I do understand that there are some sites that want it written in the traditional form, but these seem to be precious few and far between, and frankly are not the sites I would expect to find HTML5 form input elements on anyways if the US government is any indication of moving to new standards...</span></div>
<div><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><br></span></div><div><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><br>
</span></div><div><div class="gmail_quote">On Mon, Aug 9, 2010 at 5:33 PM, Ryosuke Niwa <span dir="ltr"><<a href="mailto:ryosuke.niwa@gmail.com">ryosuke.niwa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'd just say that there might be a demand for this feature in Japan (if localized properly) because all official government document needs to dated with "era name" (<a href="http://en.wikipedia.org/wiki/Japanese_era_name" target="_blank">http://en.wikipedia.org/wiki/Japanese_era_name</a>). Some banks even implement their internal database systems using "era" system, and it's always cumbersome for humans to convert between "era" and Gregorian year.<div>
<br></div><div><div>Best,</div><div>Ryosuke Niwa<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Sun, Aug 8, 2010 at 6:11 PM, Kit Grose <span dir="ltr"><<a href="mailto:kit@iqmultimedia.com.au" target="_blank">kit@iqmultimedia.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The field being four digits long doesn't restrict its contents to four digits only. I suppose you do raise an interesting concern; should the "year" field also permit the entry of BC/AD? If so, that might invalidate the ability to use a number field; you'd need to use a validation pattern on a standard text field.<br>
<font color="#888888"><br>
—Kit<br>
</font><div><div></div><div><br>
On 09/08/2010, at 10:46 AM, Andy Mabbett wrote:<br>
<br>
><br>
> On Mon, August 9, 2010 00:44, Kit Grose wrote:<br>
>> How is a "year" input any different from a four-digit input type="number"<br>
>> field?<br>
><br>
> Years can be more of fewer than four digits. Julius Caesar was born in 100<br>
> BC, for instance, while Manius Acilius Glabrio was consul in 91 AD.<br>
><br>
> --<br>
> Andy Mabbett<br>
> @pigsonthewing<br>
> <a href="http://pigsonthewing.org.uk" target="_blank">http://pigsonthewing.org.uk</a><br>
><br>
<br>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>