- From: <bugzilla@jessica.w3.org>
- Date: Thu, 08 Dec 2011 15:48:31 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15114
Summary: A "date-optional-state" should be available, for when
the specifity of the date is unknown. This would give
the user the option of selecting a year, month, or
day. Any additional requirements (e.g. required month)
can be taken care of with [pattern]. Woul
Product: HTML WG
Version: unspecified
Platform: Other
URL: http://www.whatwg.org/specs/web-apps/current-work/#dat
e-state
OS/Version: other
Status: NEW
Severity: normal
Priority: P3
Component: other Hixie drafts (editor: Ian Hickson)
AssignedTo: ian@hixie.ch
ReportedBy: contributor@whatwg.org
QAContact: public-html-bugzilla@w3.org
CC: mike@w3.org
Specification:
http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html
Multipage: http://www.whatwg.org/C#date-state
Complete: http://www.whatwg.org/c#date-state
Comment:
A "date-optional-state" should be available, for when the specifity of the
date is unknown. This would give the user the option of selecting a year,
month, or day. Any additional requirements (e.g. required month) can be taken
care of with [pattern]. Would be just like "date-state", but parameters on end
would be optional (e.g. "YYYY[-MM[-DD]]"). Optionally, "0"s could be used,
rather than omitting (e.g. "YYYY-00-00" or "YYYY-MM-00"). Example use case:
Published Date for books. Publishers sometimes only list a month (esp. when
published on different days across time zones), but more detail is preferred.
Two inputs ("Month" and "Date") is not possible as it requires a script for
validation ([required] for both locks form) and people try to fill out all
form fields (duplicates is confusing). Using [pattern] as-is is not a solution
as it does not present the user with a date picker.
Posted from: 24.231.239.6 by bfrohs@gmail.com
User agent: Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101
Firefox/8.0
--
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 8 December 2011 15:48:37 UTC