<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000">
How about a pull-down for Wikipedia which lets you choose the year
or period? Or a charting application which looks at trends in
history.<br>
<br>
While some uses may be more common than others, I personally favor
going the extra kilometre to allow full expressiveness for whatever
ranges are allowed.<br>
<br>
Brett<br>
<br>
On 8/9/2010 9:19 AM, Ben Schwarz wrote:
<blockquote
id="mid_AANLkTim9kbLTt8Wk83YZ8h3-ThWwVfDbMDHR690cro4V_mail_gmail_com"
cite="mid:AANLkTim9kbLTt8Wk83YZ8h3-ThWwVfDbMDHR690cro4V@mail.gmail.com"
type="cite">While creating an input that works for every use case
you can think of sounds like a good idea, I'd like to question
weather a user would ever <i>enter a date</i> that would require
the inclusion of BC/AD.
<div><br>
</div>
<div>I'm certain that there is a requirement to markup such text,
but as for <i>entry</i> I'm strongly of the opinion that you're
over cooking this.</div>
<div><br>
<div class="gmail_quote">On Mon, Aug 9, 2010 at 11:11 AM, Kit
Grose <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:kit@iqmultimedia.com.au">kit@iqmultimedia.com.au</a>></span>
wrote:<br>
<blockquote id="StationeryCiteGenerated_1" class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid
rgb(204, 204, 204); 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>
<br>
—Kit<br>
<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 moz-do-not-send="true"
href="http://pigsonthewing.org.uk" target="_blank">http://pigsonthewing.org.uk</a><br>
><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>