Version 3

Confusion in the use of 'timezone'

Created by: Lester Caine, Last modification: 21 Sep 2014 (15:07 UTC) by Lester Caine

During the discussions on whether we should be using time zone or if timezone was acceptable, a few interesting miss uses of timezone came to light.

XML Schema Part 2: Datatypes Second Edition

3.2.7.3 Timezones defines as a fixed minute accurate offset with no provision to identify the daylight saving element.

Python

datetime.timezone also defines timezone as a fixed offset
The timezone class is a subclass of tzinfo, each instance of which represents a timezone defined by a fixed offset from UTC. Note that objects of this class cannot be used to represent timezone information in the locations where different offsets are used in different days of the year or where historical changes have been made to civil time.

Investigating ways to identify users timezone

Moment Timezone - javascript library

Code available on github
Seems to be using truncated view of data with minute resolution but not fully reviewed as yet. It's packed data format is interesting as a base to build off for internal storage.

tzdata-javascript

tzdata-javascript is a JavaScript library that enables the usage of multiple timezones on the same webpage without the assistance of the user.  It is another source of tz data in the browser, but data format sems rather large. It does use second accuracy, but may suffer from problems on windows when using times outsdie the current year.

Page History
Date/Comment User IP Version
21 Sep 2014 (15:36 UTC)
Lester Caine 81.138.11.136 4
Current • Source
Lester Caine 81.138.11.136 3
View • Compare • Difference • Source
Lester Caine 81.138.11.136 2
View • Compare • Difference • Source
Lester Caine 81.138.11.136 1
View • Compare • Difference • Source