W3C home > Mailing lists > Public > public-i18n-core@w3.org > October to December 2012

[Bug 17854] i18n-ISSUE-85: Health warning about converting date to/from incremental time

From: <bugzilla@jessica.w3.org>
Date: Sat, 29 Dec 2012 18:17:41 +0000
To: public-i18n-core@w3.org
Message-ID: <bug-17854-3493-dErw0mPFXI@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17854

Addison Phillips <addison@lab126.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NEEDSINFO                   |---

--- Comment #2 from Addison Phillips <addison@lab126.com> ---
The problem is described in our document on working with timezones:

   http://www.w3.org/TR/timezone/#floatingevents

The warning could be something like:

NOTE: 'date' values do not include time zone information. Care is needed when
converting fields of this type to or from date data types in JavaScript and
other programming languages. In many cases, an implicit time-of-day and time
zone are used to create an "incremental time" (an integer value that represents
the offset from some arbitrary epoch time). Processing or conversion of these
values, particularly across time zones, can change the value of the date
itself. See: [http://www.w3.org/TR/timezone]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Saturday, 29 December 2012 18:17:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 29 December 2012 18:17:43 GMT