W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2012

Re: [whatwg] 'datetime-local' and 'datetime' comments

From: TAMURA, Kent <tkent@chromium.org>
Date: Thu, 6 Dec 2012 12:36:46 +0900
Message-ID: <CAGH7WqEgd3Rq5C-kt3BXkgsxW2or0u+BEaEakoB0AyOaUbacTA@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: whatwg <whatwg@lists.whatwg.org>, Mounir Lamouri <mounir@lamouri.fr>


On Thu, Nov 22, 2012 at 2:15 PM, Ian Hickson <ian@hixie.ch> wrote:

> > What do you think would be a good UI? Does something that would allow
> > selecting a date/time in the current user's TZ and then have the
> > information sent to the server in UTC would be a good UI?

> That would probably be a reasonable first UI. A more mature UI would also
> let you pick the time for a specific other time zone (e.g. because you
> know you'll be there), or compare multiple time zones at the same time to
> pick a time convenient for multiple people, etc.


I have made some UI ideas, but I still have no reasonable one.  It's very
hard because there are various levels of user knowledge and local computer
knowledge.

User-A: He doesn't know there are multiple timezones in the world.
User-B: He knows there are multiple timezones, and doesn't know his
timezone offset.
User-C: He knows there are two timezone offsets in his region; the standard
time and the daylight saving time.
User-D: He knows the start date and the end date of the daylight saving
time.
User-E: He knows there is an invalid time and ambiguous time when we switch
between the standard time and the daylight saving time.
   Note: 2012-03-11 2:30 a.m. didn't exist in USA, and there were
two 2012-11-04 1:30 a.m.
User-F: He knows timezone offsets of the standard time and the daylight
saving time.

Computer-A: It doesn't know its local timezone offset.
Computer-B: It knows its local timezone offset.
Computer-C: It knows the start date and the end date of the daylight saving
time according to the latest law about the daylight saving time.
Computer-D: It knows them for the past years too even if the law was
changed.
Computer-E: It knows them for the future years too!

If UI depended on a local timezone, we would need Computer-E and extra
handling for invalid/ambiguous time. If UI was independent from a local
timezone, only User-D/E/F could use it.

-- 
TAMURA Kent
Software Engineer, Google
Received on Thursday, 6 December 2012 03:39:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:18 UTC