Commit 883dda2a authored by Mark Côté's avatar Mark Côté

Updated timezone-js and Olson database to fix time zones example. Updated README.

parent f267cc10
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
Flot is a Javascript plotting library for jQuery. Flot is a Javascript plotting library for jQuery.
Read more at the website: <http://www.flotcharts.org/> Read more at the website: <http://www.flotcharts.org/>
Take a look at the [examples](http://people.iola.dk/olau/flot/examples/), they should give a good Take a look at examples/index.html; they should give a good impression of
impression of what Flot can do and the source code of the examples is what Flot can do, and the source code of the examples is probably the fastest
probably the fastest way to learn how to use Flot. way to learn how to use Flot.
## Installation ## ## Installation ##
...@@ -92,5 +92,17 @@ the words that come up are "good-looking", "attractive", "stylish", ...@@ -92,5 +92,17 @@ the words that come up are "good-looking", "attractive", "stylish",
"smart", "impressive", "extravagant". One of the main goals with Flot "smart", "impressive", "extravagant". One of the main goals with Flot
is pretty looks. is pretty looks.
## Notes about the examples ##
In order to have a useful, functional example of time-series plots using time
zones, date.js from [timezone-js][timezone-js] (released under the Apache 2.0
license) and the [Olson][olson] time zone database (released to the public
domain) have been included in the examples directory. They are used in
examples/timezones.html.
[excanvas]: http://code.google.com/p/explorercanvas/ [excanvas]: http://code.google.com/p/explorercanvas/
[flashcanvas]: http://code.google.com/p/flashcanvas/ [flashcanvas]: http://code.google.com/p/flashcanvas/
[timezone-js]: https://github.com/mde/timezone-js
[olson]: ftp://ftp.iana.org/tz/
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# <pre>
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
# This file provides links between current names for time zones
# and their old names. Many names changed in late 1993.
Link Africa/Asmara Africa/Asmera Link Africa/Asmara Africa/Asmera
Link Africa/Bamako Africa/Timbuktu Link Africa/Bamako Africa/Timbuktu
Link America/Argentina/Catamarca America/Argentina/ComodRivadavia Link America/Argentina/Catamarca America/Argentina/ComodRivadavia
......
# <pre>
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
# These entries are mostly present for historical reasons, so that
# people in areas not otherwise covered by the tz files could "zic -l"
# to a time zone that was right for their area. These days, the
# tz files cover almost all the inhabited world, and the only practical
# need now for the entries that are not on UTC are for ships at sea
# that cannot use POSIX TZ settings.
Zone Etc/GMT 0 - GMT Zone Etc/GMT 0 - GMT
Zone Etc/UTC 0 - UTC Zone Etc/UTC 0 - UTC
Zone Etc/UCT 0 - UCT Zone Etc/UCT 0 - UCT
# The following link uses older naming conventions,
# but it belongs here, not in the file `backward',
# as functions like gmtime load the "GMT" file to handle leap seconds properly.
# We want this to work even on installations that omit the other older names.
Link Etc/GMT GMT Link Etc/GMT GMT
Link Etc/UTC Etc/Universal Link Etc/UTC Etc/Universal
Link Etc/UTC Etc/Zulu Link Etc/UTC Etc/Zulu
Link Etc/GMT Etc/Greenwich Link Etc/GMT Etc/Greenwich
Link Etc/GMT Etc/GMT-0 Link Etc/GMT Etc/GMT-0
Link Etc/GMT Etc/GMT+0 Link Etc/GMT Etc/GMT+0
Link Etc/GMT Etc/GMT0 Link Etc/GMT Etc/GMT0
# We use POSIX-style signs in the Zone names and the output abbreviations,
# even though this is the opposite of what many people expect.
# POSIX has positive signs west of Greenwich, but many people expect
# positive signs east of Greenwich. For example, TZ='Etc/GMT+4' uses
# the abbreviation "GMT+4" and corresponds to 4 hours behind UTC
# (i.e. west of Greenwich) even though many people would expect it to
# mean 4 hours ahead of UTC (i.e. east of Greenwich).
#
# In the draft 5 of POSIX 1003.1-200x, the angle bracket notation allows for
# TZ='<GMT-4>+4'; if you want time zone abbreviations conforming to
# ISO 8601 you can use TZ='<-0400>+4'. Thus the commonly-expected
# offset is kept within the angle bracket (and is used for display)
# while the POSIX sign is kept outside the angle bracket (and is used
# for calculation).
#
# Do not use a TZ setting like TZ='GMT+4', which is four hours behind
# GMT but uses the completely misleading abbreviation "GMT".
# Earlier incarnations of this package were not POSIX-compliant,
# and had lines such as
# Zone GMT-12 -12 - GMT-1200
# We did not want things to change quietly if someone accustomed to the old
# way does a
# zic -l GMT-12
# so we moved the names into the Etc subdirectory.
Zone Etc/GMT-14 14 - GMT-14 # 14 hours ahead of GMT Zone Etc/GMT-14 14 - GMT-14 # 14 hours ahead of GMT
Zone Etc/GMT-13 13 - GMT-13 Zone Etc/GMT-13 13 - GMT-13
Zone Etc/GMT-12 12 - GMT-12 Zone Etc/GMT-12 12 - GMT-12
......
This diff is collapsed.
# <pre>
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
# For companies who don't want to put time zone specification in
# their installation procedures. When users run date, they'll get the message.
# Also useful for the "comp.sources" version.
# Zone NAME GMTOFF RULES FORMAT
Zone Factory 0 - "Local time zone must be set--see zic manual page" Zone Factory 0 - "Local time zone must be set--see zic manual page"
# <pre> # <pre>
# @(#)iso3166.tab 8.6
# This file is in the public domain, so clarified as of # This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson. # 2009-05-17 by Arthur David Olson.
# ISO 3166 alpha-2 country codes # ISO 3166 alpha-2 country codes
...@@ -21,6 +20,9 @@ ...@@ -21,6 +20,9 @@
# #
# Lines beginning with `#' are comments. # Lines beginning with `#' are comments.
# #
# From Arthur David Olson (2011-08-17):
# Resynchronized today with the ISO 3166 site (adding SS for South Sudan).
#
#country- #country-
#code country name #code country name
AD Andorra AD Andorra
...@@ -30,7 +32,6 @@ AG Antigua & Barbuda ...@@ -30,7 +32,6 @@ AG Antigua & Barbuda
AI Anguilla AI Anguilla
AL Albania AL Albania
AM Armenia AM Armenia
AN Netherlands Antilles
AO Angola AO Angola
AQ Antarctica AQ Antarctica
AR Argentina AR Argentina
...@@ -53,6 +54,7 @@ BL St Barthelemy ...@@ -53,6 +54,7 @@ BL St Barthelemy
BM Bermuda BM Bermuda
BN Brunei BN Brunei
BO Bolivia BO Bolivia
BQ Bonaire Sint Eustatius & Saba
BR Brazil BR Brazil
BS Bahamas BS Bahamas
BT Bhutan BT Bhutan
...@@ -75,6 +77,7 @@ CO Colombia ...@@ -75,6 +77,7 @@ CO Colombia
CR Costa Rica CR Costa Rica
CU Cuba CU Cuba
CV Cape Verde CV Cape Verde
CW Curacao
CX Christmas Island CX Christmas Island
CY Cyprus CY Cyprus
CZ Czech Republic CZ Czech Republic
...@@ -229,8 +232,10 @@ SM San Marino ...@@ -229,8 +232,10 @@ SM San Marino
SN Senegal SN Senegal
SO Somalia SO Somalia
SR Suriname SR Suriname
SS South Sudan
ST Sao Tome & Principe ST Sao Tome & Principe
SV El Salvador SV El Salvador
SX Sint Maarten
SY Syria SY Syria
SZ Swaziland SZ Swaziland
TC Turks & Caicos Is TC Turks & Caicos Is
......
# <pre> # <pre>
# @(#)leapseconds 8.11
# This file is in the public domain, so clarified as of # This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson. # 2009-05-17 by Arthur David Olson.
...@@ -48,40 +47,54 @@ Leap 1997 Jun 30 23:59:60 + S ...@@ -48,40 +47,54 @@ Leap 1997 Jun 30 23:59:60 + S
Leap 1998 Dec 31 23:59:60 + S Leap 1998 Dec 31 23:59:60 + S
Leap 2005 Dec 31 23:59:60 + S Leap 2005 Dec 31 23:59:60 + S
Leap 2008 Dec 31 23:59:60 + S Leap 2008 Dec 31 23:59:60 + S
Leap 2012 Jun 30 23:59:60 + S
# INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS) # INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS)
# #
# SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE ET DES SYSTEMES DE REFERENCE # SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE ET DES SYSTEMES DE REFERENCE
# #
#
# SERVICE DE LA ROTATION TERRESTRE # SERVICE DE LA ROTATION TERRESTRE
# OBSERVATOIRE DE PARIS # OBSERVATOIRE DE PARIS
# 61, Av. de l'Observatoire 75014 PARIS (France) # 61, Av. de l'Observatoire 75014 PARIS (France)
# Tel. : 33 (0) 1 40 51 22 29 # Tel. : 33 (0) 1 40 51 22 26
# FAX : 33 (0) 1 40 51 22 91 # FAX : 33 (0) 1 40 51 22 91
# Internet : services.iers@obspm.fr # e-mail : (E-Mail Removed)
# http://hpiers.obspm.fr/eop-pc
#
# Paris, 5 January 2012
# #
# Paris, 2 February 2011
# #
# Bulletin C 41 # Bulletin C 43
# #
# To authorities responsible # To authorities responsible
# for the measurement and # for the measurement and
# distribution of time # distribution of time
# #
# INFORMATION ON UTC - TAI
# #
# NO positive leap second will be introduced at the end of June 2011. # UTC TIME STEP
# The difference between Coordinated Universal Time UTC and the # on the 1st of July 2012
# International Atomic Time TAI is : #
#
# A positive leap second will be introduced at the end of June 2012.
# The sequence of dates of the UTC second markers will be:
# #
# from 2009 January 1, 0h UTC, until further notice : UTC-TAI = -34 s # 2012 June 30, 23h 59m 59s
# 2012 June 30, 23h 59m 60s
# 2012 July 1, 0h 0m 0s
#
# The difference between UTC and the International Atomic Time TAI is:
#
# from 2009 January 1, 0h UTC, to 2012 July 1 0h UTC : UTC-TAI = - 34s
# from 2012 July 1, 0h UTC, until further notice : UTC-TAI = - 35s
# #
# Leap seconds can be introduced in UTC at the end of the months of December # Leap seconds can be introduced in UTC at the end of the months of December
# or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every # or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every
# six months, either to announce a time step in UTC, or to confirm that there # six months, either to announce a time step in UTC or to confirm that there
# will be no time step at the next possible date. # will be no time step at the next possible date.
# #
#
# Daniel GAMBIS # Daniel GAMBIS
# Head # Head
# Earth Orientation Center of the IERS # Earth Orientation Center of IERS
# Observatoire de Paris, France # Observatoire de Paris, France
This diff is collapsed.
# <pre> # <pre>
# @(#)pacificnew 8.2
# This file is in the public domain, so clarified as of # This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson. # 2009-05-17 by Arthur David Olson.
......
# <pre> # <pre>
# @(#)solar87 8.2
# This file is in the public domain, so clarified as of # This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson. # 2009-05-17 by Arthur David Olson.
......
# <pre> # <pre>
# @(#)solar88 8.2
# This file is in the public domain, so clarified as of # This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson. # 2009-05-17 by Arthur David Olson.
......
# <pre> # <pre>
# @(#)solar89 8.2
# This file is in the public domain, so clarified as of # This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson. # 2009-05-17 by Arthur David Olson.
......
This diff is collapsed.
# <pre> # <pre>
# @(#)systemv 8.2
# This file is in the public domain, so clarified as of # This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson. # 2009-05-17 by Arthur David Olson.
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
: 'This file is in the public domain, so clarified as of' : 'This file is in the public domain, so clarified as of'
: '2006-07-17 by Arthur David Olson.' : '2006-07-17 by Arthur David Olson.'
: '@(#)yearistype.sh 8.2'
case $#-$1 in case $#-$1 in
2-|2-0*|2-*[!0-9]*) 2-|2-0*|2-*[!0-9]*)
echo "$0: wild year - $1" >&2 echo "$0: wild year - $1" >&2
......
# <pre> # <pre>
# @(#)zone.tab 8.41
# This file is in the public domain, so clarified as of # This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson. # 2009-05-17 by Arthur David Olson.
# #
...@@ -32,7 +31,6 @@ AG +1703-06148 America/Antigua ...@@ -32,7 +31,6 @@ AG +1703-06148 America/Antigua
AI +1812-06304 America/Anguilla AI +1812-06304 America/Anguilla
AL +4120+01950 Europe/Tirane AL +4120+01950 Europe/Tirane
AM +4011+04430 Asia/Yerevan AM +4011+04430 Asia/Yerevan
AN +1211-06900 America/Curacao
AO -0848+01314 Africa/Luanda AO -0848+01314 Africa/Luanda
AQ -7750+16636 Antarctica/McMurdo McMurdo Station, Ross Island AQ -7750+16636 Antarctica/McMurdo McMurdo Station, Ross Island
AQ -9000+00000 Antarctica/South_Pole Amundsen-Scott Station, South Pole AQ -9000+00000 Antarctica/South_Pole Amundsen-Scott Station, South Pole
...@@ -87,6 +85,7 @@ BL +1753-06251 America/St_Barthelemy ...@@ -87,6 +85,7 @@ BL +1753-06251 America/St_Barthelemy
BM +3217-06446 Atlantic/Bermuda BM +3217-06446 Atlantic/Bermuda
BN +0456+11455 Asia/Brunei BN +0456+11455 Asia/Brunei
BO -1630-06809 America/La_Paz BO -1630-06809 America/La_Paz
BQ +120903-0681636 America/Kralendijk
BR -0351-03225 America/Noronha Atlantic islands BR -0351-03225 America/Noronha Atlantic islands
BR -0127-04829 America/Belem Amapa, E Para BR -0127-04829 America/Belem Amapa, E Para
BR -0343-03830 America/Fortaleza NE Brazil (MA, PI, CE, RN, PB) BR -0343-03830 America/Fortaleza NE Brazil (MA, PI, CE, RN, PB)
...@@ -120,7 +119,7 @@ CA +4901-08816 America/Nipigon Eastern Time - Ontario & Quebec - places that did ...@@ -120,7 +119,7 @@ CA +4901-08816 America/Nipigon Eastern Time - Ontario & Quebec - places that did
CA +4823-08915 America/Thunder_Bay Eastern Time - Thunder Bay, Ontario CA +4823-08915 America/Thunder_Bay Eastern Time - Thunder Bay, Ontario
CA +6344-06828 America/Iqaluit Eastern Time - east Nunavut - most locations CA +6344-06828 America/Iqaluit Eastern Time - east Nunavut - most locations
CA +6608-06544 America/Pangnirtung Eastern Time - Pangnirtung, Nunavut CA +6608-06544 America/Pangnirtung Eastern Time - Pangnirtung, Nunavut
CA +744144-0944945 America/Resolute Eastern Standard Time - Resolute, Nunavut CA +744144-0944945 America/Resolute Central Standard Time - Resolute, Nunavut
CA +484531-0913718 America/Atikokan Eastern Standard Time - Atikokan, Ontario and Southampton I, Nunavut CA +484531-0913718 America/Atikokan Eastern Standard Time - Atikokan, Ontario and Southampton I, Nunavut
CA +624900-0920459 America/Rankin_Inlet Central Time - central Nunavut CA +624900-0920459 America/Rankin_Inlet Central Time - central Nunavut
CA +4953-09709 America/Winnipeg Central Time - Manitoba & west Ontario CA +4953-09709 America/Winnipeg Central Time - Manitoba & west Ontario
...@@ -131,6 +130,7 @@ CA +5333-11328 America/Edmonton Mountain Time - Alberta, east British Columbia & ...@@ -131,6 +130,7 @@ CA +5333-11328 America/Edmonton Mountain Time - Alberta, east British Columbia &
CA +690650-1050310 America/Cambridge_Bay Mountain Time - west Nunavut CA +690650-1050310 America/Cambridge_Bay Mountain Time - west Nunavut
CA +6227-11421 America/Yellowknife Mountain Time - central Northwest Territories CA +6227-11421 America/Yellowknife Mountain Time - central Northwest Territories
CA +682059-1334300 America/Inuvik Mountain Time - west Northwest Territories CA +682059-1334300 America/Inuvik Mountain Time - west Northwest Territories
CA +4906-11631 America/Creston Mountain Standard Time - Creston, British Columbia
CA +5946-12014 America/Dawson_Creek Mountain Standard Time - Dawson Creek & Fort Saint John, British Columbia CA +5946-12014 America/Dawson_Creek Mountain Standard Time - Dawson Creek & Fort Saint John, British Columbia
CA +4916-12307 America/Vancouver Pacific Time - west British Columbia CA +4916-12307 America/Vancouver Pacific Time - west British Columbia
CA +6043-13503 America/Whitehorse Pacific Time - south Yukon CA +6043-13503 America/Whitehorse Pacific Time - south Yukon
...@@ -155,6 +155,7 @@ CO +0436-07405 America/Bogota ...@@ -155,6 +155,7 @@ CO +0436-07405 America/Bogota
CR +0956-08405 America/Costa_Rica CR +0956-08405 America/Costa_Rica
CU +2308-08222 America/Havana CU +2308-08222 America/Havana
CV +1455-02331 Atlantic/Cape_Verde CV +1455-02331 Atlantic/Cape_Verde
CW +1211-06900 America/Curacao
CX -1025+10543 Indian/Christmas CX -1025+10543 Indian/Christmas
CY +3510+03322 Asia/Nicosia CY +3510+03322 Asia/Nicosia
CZ +5005+01426 Europe/Prague CZ +5005+01426 Europe/Prague
...@@ -318,7 +319,8 @@ PL +5215+02100 Europe/Warsaw ...@@ -318,7 +319,8 @@ PL +5215+02100 Europe/Warsaw
PM +4703-05620 America/Miquelon PM +4703-05620 America/Miquelon
PN -2504-13005 Pacific/Pitcairn PN -2504-13005 Pacific/Pitcairn
PR +182806-0660622 America/Puerto_Rico PR +182806-0660622 America/Puerto_Rico
PS +3130+03428 Asia/Gaza PS +3130+03428 Asia/Gaza Gaza Strip
PS +313200+0350542 Asia/Hebron West Bank
PT +3843-00908 Europe/Lisbon mainland PT +3843-00908 Europe/Lisbon mainland
PT +3238-01654 Atlantic/Madeira Madeira Islands PT +3238-01654 Atlantic/Madeira Madeira Islands
PT +3744-02540 Atlantic/Azores Azores PT +3744-02540 Atlantic/Azores Azores
...@@ -331,7 +333,7 @@ RS +4450+02030 Europe/Belgrade ...@@ -331,7 +333,7 @@ RS +4450+02030 Europe/Belgrade
RU +5443+02030 Europe/Kaliningrad Moscow-01 - Kaliningrad RU +5443+02030 Europe/Kaliningrad Moscow-01 - Kaliningrad
RU +5545+03735 Europe/Moscow Moscow+00 - west Russia RU +5545+03735 Europe/Moscow Moscow+00 - west Russia
RU +4844+04425 Europe/Volgograd Moscow+00 - Caspian Sea RU +4844+04425 Europe/Volgograd Moscow+00 - Caspian Sea
RU +5312+05009 Europe/Samara Moscow - Samara, Udmurtia RU +5312+05009 Europe/Samara Moscow+00 - Samara, Udmurtia
RU +5651+06036 Asia/Yekaterinburg Moscow+02 - Urals RU +5651+06036 Asia/Yekaterinburg Moscow+02 - Urals
RU +5500+07324 Asia/Omsk Moscow+03 - west Siberia RU +5500+07324 Asia/Omsk Moscow+03 - west Siberia
RU +5502+08255 Asia/Novosibirsk Moscow+03 - Novosibirsk RU +5502+08255 Asia/Novosibirsk Moscow+03 - Novosibirsk
...@@ -360,8 +362,10 @@ SM +4355+01228 Europe/San_Marino ...@@ -360,8 +362,10 @@ SM +4355+01228 Europe/San_Marino
SN +1440-01726 Africa/Dakar SN +1440-01726 Africa/Dakar
SO +0204+04522 Africa/Mogadishu SO +0204+04522 Africa/Mogadishu
SR +0550-05510 America/Paramaribo SR +0550-05510 America/Paramaribo
SS +0451+03136 Africa/Juba
ST +0020+00644 Africa/Sao_Tome ST +0020+00644 Africa/Sao_Tome
SV +1342-08912 America/El_Salvador SV +1342-08912 America/El_Salvador
SX +180305-0630250 America/Lower_Princes
SY +3330+03618 Asia/Damascus SY +3330+03618 Asia/Damascus
SZ -2618+03106 Africa/Mbabane SZ -2618+03106 Africa/Mbabane
TC +2128-07108 America/Grand_Turk TC +2128-07108 America/Grand_Turk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment