On Tue, 8 Mar 2011 16:51:25 -0800, Jonas Sicking wrote:
On Tue, Mar 8, 2011 at 10:46 AM, Markus Ernst <[email protected]>
wrote:
Am 08.03.2011 19:02 schrieb Anne van Kesteren:
On Tue, 08 Mar 2011 12:26:56 +0100, Jukka K. Korpela
<[email protected]> wrote:
For example, consider a date picker. Quite often, whether trying
to
make dates or selling flights, there is a known set of
(non-consecutive) days that are possible, so we would like to
write, say,
<input type="date" id="date" name="date"
value="2011-04-01" list="datelist">
<datalist id="datelist">
<option value="2011-04-01" label="April 1st">
<option value="2011-04-08" label="April 8th">
<option value="2011-04-09" label="April 9th">
</datalist>
(...)
/ Jonas
I was thinking.. what about allowing big time spans, like: from April
1st to June 30th? Giving that the date has "-" as date element
separators we could not use YYYY1-MM1-DD1-YYYY2-MM2-DD2. Couldn't this
be useful? Even more common might the usecase where a date must be from
some date onward (or until some date). How is this addressed?
-
Diogo