Date:2011-11-16 17:03:31 (8 years 11 months ago)
Author:Warren Pattison
Commit:5d894ae6d7b7fa5cf6292ff8c756180d50a7e48c
Message:See ben-time-set changelog

Files: ben-time-set/Change-Log.txt (1 diff)
ben-time-set/ben-time-set.sh (1 diff)
ben-time-set/timezones (1 diff)
ben-time-set/usr/bin/ben-time-set.sh (1 diff)
ben-time-set/usr/share/ben-time-set/timezones (1 diff)

Change Details

ben-time-set/Change-Log.txt
11ChangeLog for ben-time-set
22
316/11/11 Added checks for Cancel on Timezone Dialogues
4      Tested timezone file checks
5      Moved Files to /usr/bin and /usr/share
6      Cleaned up some Typos
7      Bumped version to 0.1.2
8      Tried to set sensible permissions on files
9      Tried to set right user (root? 1001?)
10      Fixed lack of pause after no timezones warning
11
12
1315/11/11 Start adding if to check for timezones file
14          bump version to 0.1.0 to reflect all the earlier work
15           not mentioned here
16      Minor clean-ups on some of the wording
17      Change the changelog.. duh
18
19
32017/09/11 Re-formatted the timezones file for easier pasring
421         Sused put how to generate dialog menus on the fly
522         Broke the menu down by Region so the list isn't too long
ben-time-set/ben-time-set.sh
1#!/bin/bash
2#
3# Script to facilitate setting the
4# date and time on the Ben NanoNote
5# Copyright 2011 by Warren "Freemor" Pattison
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation, either version 3 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20# First we set up a few things
21
22VERSION="0.0.5"
23BACKTITLE="Ben NanoNote Time/Date Utility"
24TIMEZONE=""
25#DATEFORMAT="%Y%m%d"
26#TIMEFORMAT="%H%M"
27setfont /usr/share/kbd/consolefonts/kernel-6x11-font # size down the font so the Calendar widget fits.
28
29# Check For the dialog program
30
31if [ ! -e /usr/bin/dialog ]; then
32   echo "We need the dialog program to do this nicely."
33   echo "please install it with:"
34   echo "opkg install dialog"
35   echo
36   echo "and try again..."
37   exit 1
38fi
39
40# Intro and Instructions
41
42dialog --backtitle "$BACKTITLE" --cr-wrap --trim --msgbox "Use this utility to set the time, date\n\
43and timezone on your NanoNote.\n\n\
44Use the TAB key to move between fields.\n\
45use the directional pad to set the value.\n" 0 0
46
47# Set Timezone first as that requires a reboot
48
49TZ=`cat /etc/TZ`
50
51# Is timezone right?
52
53dialog --backtitle "$BACKTITLE" --yesno "Timezone is: "$TZ" \nIs this correct?" 0 0
54
55if [ "$?" != "0" ]; then
56    dialog --backtitle "$BACKTITLE" --menu "Select your Region:" 0 0 8 Africa "" America "" Antarctica "" Arctic "" Asia "" Atlantic "" Australia "" Europe "" Indian "" Pacific "" 2>/tmp/result
57    ZONES=( $(grep -i $(</tmp/result) timezones | cut -f2- -d/) )
58    dialog --backtitle "$BACKTITLE" --menu "Select the nearest City:" 0 0 8 `for ITEM in $(seq 0 $((${#ZONES[@]} - 1))); do echo ${ZONES[$ITEM]#*|} ${ZONES[$ITEM]%|*}; done` 2>/tmp/result
59    TIMEZONE=$(</tmp/result)
60    #echo $TIMEZONE
61    #exit 1
62    #Commit Timezone string to firmware
63    uci set system.@system[0].timezone="$TIMEZONE"
64    uci commit system
65    #Clean-up
66    rm /tmp/result
67    #ASK to reboot... (Pet peeve.. never reboot by default)
68    dialog --backtitle "$BACKTITLE" --yesno "Timezone has been set\nSystem will now restart so Linux can adjust.\n\n Reboot?" 0 0
69    if [ "$?" == 0 ]; then
70        reboot
71        exit 0
72    else
73        exit 0
74    fi
75fi
76
77
78# Get the Date
79
80dialog --backtitle "$BACKTITLE" --calendar "Set the date" 0 0 2>/tmp/time
81
82# Exit if user chose to cancel
83if [ "$?" != "0" ]; then
84   exit 1
85fi
86
87# Get the Time
88
89dialog --backtitle "$BACKTITLE" --timebox "Set the time" 0 0 2>>/tmp/time
90
91# Exit if user chose to cancel
92if [ "$?" != "0" ]; then
93   exit 1
94fi
95
96# Format the input
97
98DAY=`cut -s -f1 -d '/' /tmp/time`
99MONTH=`cut -s -f2 -d '/' /tmp/time`
100YEAR=`cut -s -f3 -d '/' /tmp/time`
101HOURS=`cut -s -f1 -d ':' /tmp/time`
102MINUTES=`cut -s -f2 -d ':' /tmp/time`
103
104SET=$YEAR$MONTH$DAY$HOURS$MINUTES
105
106echo $SET
107
108
109# Set and apply to internal clock
110
111date $SET
112hwclock --systohc --utc
113dialog --backtitle "$BACKTITLE" --infobox "The time and date have now been\nset and saved.\n\nenjoy" 0 0
114
115
116# Clean Up
117
118rm /tmp/time
119
ben-time-set/timezones
1Africa/Abidjan|GMT0
2Africa/Accra|GMT0
3Africa/Addis_Ababa|EAT-3
4Africa/Algiers|CET-1
5Africa/Asmara|EAT-3
6Africa/Bamako|GMT0
7Africa/Bangui|WAT-1
8Africa/Banjul|GMT0
9Africa/Bissau|GMT0
10Africa/Blantyre|CAT-2
11Africa/Brazzaville|WAT-1
12Africa/Bujumbura|CAT-2
13Africa/Casablanca|WET0
14Africa/Ceuta|CET-1CEST,M3.5.0,M10.5.0/3
15Africa/Conakry|GMT0
16Africa/Dakar|GMT0
17Africa/Dar_es_Salaam|EAT-3
18Africa/Djibouti|EAT-3
19Africa/Douala|WAT-1
20Africa/El_Aaiun|WET0
21Africa/Freetown|GMT0
22Africa/Gaborone|CAT-2
23Africa/Harare|CAT-2
24Africa/Johannesburg|SAST-2
25Africa/Kampala|EAT-3
26Africa/Khartoum|EAT-3
27Africa/Kigali|CAT-2
28Africa/Kinshasa|WAT-1
29Africa/Lagos|WAT-1
30Africa/Libreville|WAT-1
31Africa/Lome|GMT0
32Africa/Luanda|WAT-1
33Africa/Lubumbashi|CAT-2
34Africa/Lusaka|CAT-2
35Africa/Malabo|WAT-1
36Africa/Maputo|CAT-2
37Africa/Maseru|SAST-2
38Africa/Mbabane|SAST-2
39Africa/Mogadishu|EAT-3
40Africa/Monrovia|GMT0
41Africa/Nairobi|EAT-3
42Africa/Ndjamena|WAT-1
43Africa/Niamey|WAT-1
44Africa/Nouakchott|GMT0
45Africa/Ouagadougou|GMT0
46Africa/Porto-Novo|WAT-1
47Africa/Sao_Tome|GMT0
48Africa/Tripoli|EET-2
49Africa/Tunis|CET-1
50Africa/Windhoek|WAT-1WAST,M9.1.0,M4.1.0
51America/Adak|HAST10HADT,M3.2.0,M11.1.0
52America/Anchorage|AKST9AKDT,M3.2.0,M11.1.0
53America/Anguilla|AST4
54America/Antigua|AST4
55America/Araguaina|BRT3
56America/Argentina/Buenos_Aires|ART3
57America/Argentina/Catamarca|ART3
58America/Argentina/Cordoba|ART3
59America/Argentina/Jujuy|ART3
60America/Argentina/La_Rioja|ART3
61America/Argentina/Mendoza|ART3
62America/Argentina/Rio_Gallegos|ART3
63America/Argentina/Salta|ART3
64America/Argentina/San_Juan|ART3
65America/Argentina/Tucuman|ART3
66America/Argentina/Ushuaia|ART3
67America/Aruba|AST4
68America/Asuncion|PYT4PYST,M10.1.0/0,M4.2.0/0
69America/Atikokan|EST5
70America/Bahia|BRT3
71America/Barbados|AST4
72America/Belem|BRT3
73America/Belize|CST6
74America/Blanc-Sablon|AST4
75America/Boa_Vista|AMT4
76America/Bogota|COT5
77America/Boise|MST7MDT,M3.2.0,M11.1.0
78America/Cambridge_Bay|MST7MDT,M3.2.0,M11.1.0
79America/Campo_Grande|AMT4AMST,M10.3.0/0,M2.3.0/0
80America/Cancun|CST6CDT,M4.1.0,M10.5.0
81America/Caracas|VET4:30
82America/Cayenne|GFT3
83America/Cayman|EST5
84America/Chicago|CST6CDT,M3.2.0,M11.1.0
85America/Chihuahua|MST7MDT,M4.1.0,M10.5.0
86America/Costa_Rica|CST6
87America/Cuiaba|AMT4AMST,M10.3.0/0,M2.3.0/0
88America/Curacao|AST4
89America/Danmarkshavn|GMT0
90America/Dawson|PST8PDT,M3.2.0,M11.1.0
91America/Dawson|Creek|MST7
92America/Denver|MST7MDT,M3.2.0,M11.1.0
93America/Detroit|EST5EDT,M3.2.0,M11.1.0
94America/Dominica|AST4
95America/Edmonton|MST7MDT,M3.2.0,M11.1.0
96America/Eirunepe|AMT4
97America/El_Salvador|CST6
98America/Fortaleza|BRT3
99America/Glace_Bay|AST4ADT,M3.2.0,M11.1.0
100America/Goose_Bay|AST4ADT,M3.2.0/0:01,M11.1.0/0:01
101America/Grand_Turk|EST5EDT,M3.2.0,M11.1.0
102America/Grenada|AST4
103America/Guadeloupe|AST4
104America/Guatemala|CST6
105America/Guayaquil|ECT5
106America/Guyana|GYT4
107America/Halifax|AST4ADT,M3.2.0,M11.1.0
108America/Havana|CST5CDT,M3.2.0/0,M10.5.0/1
109America/Hermosillo|MST7
110America/Indiana/Indianapolis|EST5EDT,M3.2.0,M11.1.0
111America/Indiana/Knox|CST6CDT,M3.2.0,M11.1.0
112America/Indiana/Marengo|EST5EDT,M3.2.0,M11.1.0
113America/Indiana/Petersburg|EST5EDT,M3.2.0,M11.1.0
114America/Indiana/Tell_City|CST6CDT,M3.2.0,M11.1.0
115America/Indiana/Vevay|EST5EDT,M3.2.0,M11.1.0
116America/Indiana/Vincennes|EST5EDT,M3.2.0,M11.1.0
117America/Indiana/Winamac|EST5EDT,M3.2.0,M11.1.0
118America/Inuvik|MST7MDT,M3.2.0,M11.1.0
119America/Iqaluit|EST5EDT,M3.2.0,M11.1.0
120America/Jamaica|EST5
121America/Juneau|AKST9AKDT,M3.2.0,M11.1.0
122America/Kentucky/Louisville|EST5EDT,M3.2.0,M11.1.0
123America/Kentucky/Monticello|EST5EDT,M3.2.0,M11.1.0
124America/La_Paz|BOT4
125America/Lima|PET5
126America/Los_Angeles|PST8PDT,M3.2.0,M11.1.0
127America/Maceio|BRT3
128America/Managua|CST6
129America/Manaus|AMT4
130America/Marigot|AST4
131America/Martinique|AST4
132America/Matamoros|CST6CDT,M3.2.0,M11.1.0
133America/Mazatlan|MST7MDT,M4.1.0,M10.5.0
134America/Menominee|CST6CDT,M3.2.0,M11.1.0
135America/Merida|CST6CDT,M4.1.0,M10.5.0
136America/Mexico_City|CST6CDT,M4.1.0,M10.5.0
137America/Miquelon|PMST3PMDT,M3.2.0,M11.1.0
138America/Moncton|AST4ADT,M3.2.0,M11.1.0
139America/Monterrey|CST6CDT,M4.1.0,M10.5.0
140America/Montevideo|UYT3UYST,M10.1.0,M3.2.0
141America/Montreal|EST5EDT,M3.2.0,M11.1.0
142America/Montserrat|AST4
143America/Nassau|EST5EDT,M3.2.0,M11.1.0
144America/New_York|EST5EDT,M3.2.0,M11.1.0
145America/Nipigon|EST5EDT,M3.2.0,M11.1.0
146America/Nome|AKST9AKDT,M3.2.0,M11.1.0
147America/Noronha|FNT2
148America/North_Dakota/Center|CST6CDT,M3.2.0,M11.1.0
149America/North_Dakota/New|Salem|CST6CDT,M3.2.0,M11.1.0
150America/Ojinaga|MST7MDT,M3.2.0,M11.1.0
151America/Panama|EST5
152America/Pangnirtung|EST5EDT,M3.2.0,M11.1.0
153America/Paramaribo|SRT3
154America/Phoenix|MST7
155America/Port_of_Spain|AST4
156America/Port-au-Prince|EST5
157America/Porto|Velho|AMT4
158America/Puerto|Rico|AST4
159America/Rainy_River|CST6CDT,M3.2.0,M11.1.0
160America/Rankin_Inlet|CST6CDT,M3.2.0,M11.1.0
161America/Recife|BRT3
162America/Regina|CST6
163America/Rio_Branco|AMT4
164America/Santa_Isabel|PST8PDT,M4.1.0,M10.5.0
165America/Santarem|BRT3
166America/Santo_Domingo|AST4
167America/Sao_Paulo|BRT3BRST,M10.3.0/0,M2.3.0/0
168America/Scoresbysund|EGT1EGST,M3.5.0/0,M10.5.0/1
169America/Shiprock|MST7MDT,M3.2.0,M11.1.0
170America/St_Barthelemy|AST4
171America/St_Johns|NST3:30NDT,M3.2.0/0:01,M11.1.0/0:01
172America/St_Kitts|AST4
173America/St_Lucia|AST4
174America/St_Thomas|AST4
175America/St_Vincent|AST4
176America/Swift_Current|CST6
177America/Tegucigalpa|CST6
178America/Thule|AST4ADT,M3.2.0,M11.1.0
179America/Thunder_Bay|EST5EDT,M3.2.0,M11.1.0
180America/Tijuana|PST8PDT,M3.2.0,M11.1.0
181America/Toronto|EST5EDT,M3.2.0,M11.1.0
182America/Tortola|AST4
183America/Vancouver|PST8PDT,M3.2.0,M11.1.0
184America/Whitehorse|PST8PDT,M3.2.0,M11.1.0
185America/Winnipeg|CST6CDT,M3.2.0,M11.1.0
186America/Yakutat|AKST9AKDT,M3.2.0,M11.1.0
187America/Yellowknife|MST7MDT,M3.2.0,M11.1.0
188Antarctica/Casey|WST-8
189Antarctica/Davis|DAVT-7
190Antarctica/DumontDUrville|DDUT-10
191Antarctica/Macquarie|MIST-11
192Antarctica/Mawson|MAWT-5
193Antarctica/McMurdo|NZST-12NZDT,M9.5.0,M4.1.0/3
194Antarctica/Rothera|ROTT3
195Antarctica/South_Pole|NZST-12NZDT,M9.5.0,M4.1.0/3
196Antarctica/Syowa|SYOT-3
197Antarctica/Vostok|VOST-6
198Arctic/Longyearbyen|CET-1CEST,M3.5.0,M10.5.0/3
199Asia/Aden|AST-3
200Asia/Almaty|ALMT-6
201Asia/Anadyr|ANAT-11ANAST,M3.5.0,M10.5.0/3
202Asia/Aqtau|AQTT-5
203Asia/Aqtobe|AQTT-5
204Asia/Ashgabat|TMT-5
205Asia/Baghdad|AST-3
206Asia/Bahrain|AST-3
207Asia/Baku|AZT-4AZST,M3.5.0/4,M10.5.0/5
208Asia/Bangkok|ICT-7
209Asia/Beirut|EET-2EEST,M3.5.0/0,M10.5.0/0
210Asia/Bishkek|KGT-6
211Asia/Brunei|BNT-8
212Asia/Choibalsan|CHOT-8
213Asia/Chongqing|CST-8
214Asia/Colombo|IST-5:30
215Asia/Damascus|EET-2EEST,M4.1.5/0,M10.5.5/0
216Asia/Dhaka|BDT-6
217Asia/Dili|TLT-9
218Asia/Dubai|GST-4
219Asia/Dushanbe|TJT-5
220Asia/Gaza|EET-2EEST,M3.5.6/0:01,M9.1.5
221Asia/Harbin|CST-8
222Asia/Ho_Chi|Minh|ICT-7
223Asia/Hong_Kong|HKT-8
224Asia/Hovd|HOVT-7
225Asia/Irkutsk|IRKT-8IRKST,M3.5.0,M10.5.0/3
226Asia/Jakarta|WIT-7
227Asia/Jayapura|EIT-9
228Asia/Kabul|AFT-4:30
229Asia/Kamchatka|PETT-11PETST,M3.5.0,M10.5.0/3
230Asia/Karachi|PKT-5
231Asia/Kashgar|CST-8
232Asia/Kathmandu|NPT-5:45
233Asia/Kolkata|IST-5:30
234Asia/Krasnoyarsk|KRAT-7KRAST,M3.5.0,M10.5.0/3
235Asia/Kuala_Lumpur|MYT-8
236Asia/Kuching|MYT-8
237Asia/Kuwait|AST-3
238Asia/Macau|CST-8
239Asia/Magadan|MAGT-11MAGST,M3.5.0,M10.5.0/3
240Asia/Makassar|CIT-8
241Asia/Manila|PHT-8
242Asia/Muscat|GST-4
243Asia/Nicosia|EET-2EEST,M3.5.0/3,M10.5.0/4
244Asia/Novokuznetsk|NOVT-6NOVST,M3.5.0,M10.5.0/3
245Asia/Novosibirsk|NOVT-6NOVST,M3.5.0,M10.5.0/3
246Asia/Omsk|OMST-6OMSST,M3.5.0,M10.5.0/3
247Asia/Oral|ORAT-5
248Asia/Phnom_Penh|ICT-7
249Asia/Pontianak|WIT-7
250Asia/Pyongyang|KST-9
251Asia/Qatar|AST-3
252Asia/Qyzylorda|QYZT-6
253Asia/Rangoon|MMT-6:30
254Asia/Riyadh|AST-3
255Asia/Sakhalin|SAKT-10SAKST,M3.5.0,M10.5.0/3
256Asia/Samarkand|UZT-5
257Asia/Seoul|KST-9
258Asia/Shanghai|CST-8
259Asia/Singapore|SGT-8
260Asia/Taipei|CST-8
261Asia/Tashkent|UZT-5
262Asia/Tbilisi|GET-4
263Asia/Thimphu|BTT-6
264Asia/Tokyo|JST-9
265Asia/Ulaanbaatar|ULAT-8
266Asia/Urumqi|CST-8
267Asia/Vientiane|ICT-7
268Asia/Vladivostok|VLAT-10VLAST,M3.5.0,M10.5.0/3
269Asia/Yakutsk|YAKT-9YAKST,M3.5.0,M10.5.0/3
270Asia/Yekaterinburg|YEKT-5YEKST,M3.5.0,M10.5.0/3
271Asia/Yerevan|AMT-4AMST,M3.5.0,M10.5.0/3
272Atlantic/Azores|AZOT1AZOST,M3.5.0/0,M10.5.0/1
273Atlantic/Bermuda|AST4ADT,M3.2.0,M11.1.0
274Atlantic/Canary|WET0WEST,M3.5.0/1,M10.5.0
275Atlantic/Cape_Verde|CVT1
276Atlantic/Faroe|WET0WEST,M3.5.0/1,M10.5.0
277Atlantic/Madeira|WET0WEST,M3.5.0/1,M10.5.0
278Atlantic/Reykjavik|GMT0
279Atlantic/South_Georgia|GST2
280Atlantic/St_Helena|GMT0
281Atlantic/Stanley|FKT4FKST,M9.1.0,M4.3.0
282Australia/Adelaide|CST-9:30CST,M10.1.0,M4.1.0/3
283Australia/Brisbane|EST-10
284Australia/Broken_Hill|CST-9:30CST,M10.1.0,M4.1.0/3
285Australia/Currie|EST-10EST,M10.1.0,M4.1.0/3
286Australia/Darwin|CST-9:30
287Australia/Eucla|CWST-8:45
288Australia/Hobart|EST-10EST,M10.1.0,M4.1.0/3
289Australia/Lindeman|EST-10
290Australia/Lord_Howe|LHST-10:30LHST-11,M10.1.0,M4.1.0
291Australia/Melbourne|EST-10EST,M10.1.0,M4.1.0/3
292Australia/Perth|WST-8
293Australia/Sydney|EST-10EST,M10.1.0,M4.1.0/3
294Europe/Amsterdam|CET-1CEST,M3.5.0,M10.5.0/3
295Europe/Andorra|CET-1CEST,M3.5.0,M10.5.0/3
296Europe/Athens|EET-2EEST,M3.5.0/3,M10.5.0/4
297Europe/Belgrade|CET-1CEST,M3.5.0,M10.5.0/3
298Europe/Berlin|CET-1CEST,M3.5.0,M10.5.0/3
299Europe/Bratislava|CET-1CEST,M3.5.0,M10.5.0/3
300Europe/Brussels|CET-1CEST,M3.5.0,M10.5.0/3
301Europe/Bucharest|EET-2EEST,M3.5.0/3,M10.5.0/4
302Europe/Budapest|CET-1CEST,M3.5.0,M10.5.0/3
303Europe/Chisinau|EET-2EEST,M3.5.0/3,M10.5.0/4
304Europe/Copenhagen|CET-1CEST,M3.5.0,M10.5.0/3
305Europe/Dublin|GMT0IST,M3.5.0/1,M10.5.0
306Europe/Gibraltar|CET-1CEST,M3.5.0,M10.5.0/3
307Europe/Guernsey|GMT0BST,M3.5.0/1,M10.5.0
308Europe/Helsinki|EET-2EEST,M3.5.0/3,M10.5.0/4
309Europe/Isle_of_Man|GMT0BST,M3.5.0/1,M10.5.0
310Europe/Istanbul|EET-2EEST,M3.5.0/3,M10.5.0/4
311Europe/Jersey|GMT0BST,M3.5.0/1,M10.5.0
312Europe/Kaliningrad|EET-2EEST,M3.5.0,M10.5.0/3
313Europe/Kiev|EET-2EEST,M3.5.0/3,M10.5.0/4
314Europe/Lisbon|WET0WEST,M3.5.0/1,M10.5.0
315Europe/Ljubljana|CET-1CEST,M3.5.0,M10.5.0/3
316Europe/London|GMT0BST,M3.5.0/1,M10.5.0
317Europe/Luxembourg|CET-1CEST,M3.5.0,M10.5.0/3
318Europe/Madrid|CET-1CEST,M3.5.0,M10.5.0/3
319Europe/Malta|CET-1CEST,M3.5.0,M10.5.0/3
320Europe/Mariehamn|EET-2EEST,M3.5.0/3,M10.5.0/4
321Europe/Minsk|EET-2EEST,M3.5.0,M10.5.0/3
322Europe/Monaco|CET-1CEST,M3.5.0,M10.5.0/3
323Europe/Moscow|MSK-3MSD,M3.5.0,M10.5.0/3
324Europe/Oslo|CET-1CEST,M3.5.0,M10.5.0/3
325Europe/Paris|CET-1CEST,M3.5.0,M10.5.0/3
326Europe/Podgorica|CET-1CEST,M3.5.0,M10.5.0/3
327Europe/Prague|CET-1CEST,M3.5.0,M10.5.0/3
328Europe/Riga|EET-2EEST,M3.5.0/3,M10.5.0/4
329Europe/Rome|CET-1CEST,M3.5.0,M10.5.0/3
330Europe/Samara|SAMT-3SAMST,M3.5.0,M10.5.0/3
331Europe/San_Marino|CET-1CEST,M3.5.0,M10.5.0/3
332Europe/Sarajevo|CET-1CEST,M3.5.0,M10.5.0/3
333Europe/Simferopol|EET-2EEST,M3.5.0/3,M10.5.0/4
334Europe/Skopje|CET-1CEST,M3.5.0,M10.5.0/3
335Europe/Sofia|EET-2EEST,M3.5.0/3,M10.5.0/4
336Europe/Stockholm|CET-1CEST,M3.5.0,M10.5.0/3
337Europe/Tallinn|EET-2EEST,M3.5.0/3,M10.5.0/4
338Europe/Tirane|CET-1CEST,M3.5.0,M10.5.0/3
339Europe/Uzhgorod|EET-2EEST,M3.5.0/3,M10.5.0/4
340Europe/Vaduz|CET-1CEST,M3.5.0,M10.5.0/3
341Europe/Vatican|CET-1CEST,M3.5.0,M10.5.0/3
342Europe/Vienna|CET-1CEST,M3.5.0,M10.5.0/3
343Europe/Vilnius|EET-2EEST,M3.5.0/3,M10.5.0/4
344Europe/Volgograd|VOLT-3VOLST,M3.5.0,M10.5.0/3
345Europe/Warsaw|CET-1CEST,M3.5.0,M10.5.0/3
346Europe/Zagreb|CET-1CEST,M3.5.0,M10.5.0/3
347Europe/Zaporozhye|EET-2EEST,M3.5.0/3,M10.5.0/4
348Europe/Zurich|CET-1CEST,M3.5.0,M10.5.0/3
349Indian/Antananarivo|EAT-3
350Indian/Chagos|IOT-6
351Indian/Christmas|CXT-7
352Indian/Cocos|CCT-6:30
353Indian/Comoro|EAT-3
354Indian/Kerguelen|TFT-5
355Indian/Mahe|SCT-4
356Indian/Maldives|MVT-5
357Indian/Mauritius|MUT-4
358Indian/Mayotte|EAT-3
359Indian/Reunion|RET-4
360Pacific/Apia|WST11
361Pacific/Auckland|NZST-12NZDT,M9.5.0,M4.1.0/3
362Pacific/Chatham|CHAST-12:45CHADT,M9.5.0/2:45,M4.1.0/3:45
363Pacific/Efate|VUT-11
364Pacific/Enderbury|PHOT-13
365Pacific/Fakaofo|TKT10
366Pacific/Fiji|FJT-12
367Pacific/Funafuti|TVT-12
368Pacific/Galapagos|GALT6
369Pacific/Gambier|GAMT9
370Pacific/Guadalcanal|SBT-11
371Pacific/Guam|ChST-10
372Pacific/Honolulu|HST10
373Pacific/Johnston|HST10
374Pacific/Kiritimati|LINT-14
375Pacific/Kosrae|KOST-11
376Pacific/Kwajalein|MHT-12
377Pacific/Majuro|MHT-12
378Pacific/Marquesas|MART9:30
379Pacific/Midway|SST11
380Pacific/Nauru|NRT-12
381Pacific/Niue|NUT11
382Pacific/Norfolk|NFT-11:30
383Pacific/Noumea|NCT-11
384Pacific/Pago|Pago|SST11
385Pacific/Palau|PWT-9
386Pacific/Pitcairn|PST8
387Pacific/Ponape|PONT-11
388Pacific/Port_Moresby|PGT-10
389Pacific/Rarotonga|CKT10
390Pacific/Saipan|ChST-10
391Pacific/Tahiti|TAHT10
392Pacific/Tarawa|GILT-12
393Pacific/Tongatapu|TOT-13
394Pacific/Truk|TRUT-10
395Pacific/Wake|WAKT-12
396Pacific/Wallis|WFT-12
ben-time-set/usr/bin/ben-time-set.sh
1#!/bin/bash
2#
3# Script to facilitate setting the
4# date and time on the Ben NanoNote
5# Copyright 2011 by Warren "Freemor" Pattison
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation, either version 3 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20# First we set up a few things
21
22VERSION="0.1.2"
23BACKTITLE="Ben NanoNote Time/Date Utility"
24TIMEZONE=""
25TZFILE="/usr/share/ben-time-set/timezones"
26NOTZ=0
27#DATEFORMAT="%Y%m%d"
28#TIMEFORMAT="%H%M"
29setfont /usr/share/kbd/consolefonts/kernel-6x11-font # size down the font so the Calendar widget fits.
30
31# Check For the dialog program
32
33if [ ! -e /usr/bin/dialog ]; then
34   echo "We need the dialog program to do this nicely."
35   echo "please install it with:"
36   echo "opkg install dialog"
37   echo
38   echo "and try again..."
39   exit 1
40fi
41
42# Check that we have a timezones file
43
44if [ ! -e /usr/share/ben-time-set/timezones ]; then
45    if [ -e ./timezones ]; then
46        TZFILE="./timezones"
47    else
48        echo "oops.. no timezones file"
49        echo "We will be unable to set the Timezone."
50        echo "If you want to be able to set the timezone"
51        echo "Please download the timezones file and save"
52        echo "it to the same folder as the script or"
53        echo "/usr/share/ben-time-set/"
54        echo "--"
55        read -p "Press a key to continue" -n1 -s
56        NOTZ=1
57    fi
58fi
59
60echo $TZFILE, $NOTZ
61#exit 0
62
63# Intro and Instructions
64
65dialog --backtitle "$BACKTITLE" --cr-wrap --trim --msgbox "Use this utility to set the time, date\n\
66and timezone on your NanoNote.\n\n\
67Use the TAB key to move between fields.\n\
68use the directional pad to set the value.\n" 0 0
69
70# Set Timezone first as that requires a reboot
71
72if [ $NOTZ == 0 ]; then
73
74    TZ=`cat /etc/TZ`
75
76    # Is timezone right?
77
78    dialog --backtitle "$BACKTITLE" --yesno "Timezone is: "$TZ" \nIs this correct?" 0 0
79
80    if [ "$?" != "0" ]; then
81        dialog --backtitle "$BACKTITLE" --menu "Select your Region:" 0 0 8 Africa "" America "" Antarctica "" Arctic "" Asia "" Atlantic "" Australia "" Europe "" Indian "" Pacific "" 2>/tmp/result
82        if [ "$?" != "0" ]; then
83           exit 1
84        fi
85        ZONES=( $(grep -i $(</tmp/result) "$TZFILE" | cut -f2- -d/) )
86
87        dialog --backtitle "$BACKTITLE" --menu "Select the nearest City:" 0 0 8 `for ITEM in $(seq 0 $((${#ZONES[@]} - 1))); do echo ${ZONES[$ITEM]#*|} ${ZONES[$ITEM]%|*}; done` 2>/tmp/result
88        if [ "$?" != "0" ]; then
89           exit 1
90        fi
91        TIMEZONE=$(</tmp/result)
92
93        #Commit Timezone string to firmware
94        uci set system.@system[0].timezone="$TIMEZONE"
95        uci commit system
96
97        #Clean-up
98        rm /tmp/result
99
100        #ASK to reboot... (Pet peeve.. never reboot by default)
101        dialog --backtitle "$BACKTITLE" --yesno "Timezone has been set\nSystem now needs to restart so Linux can adjust.\n\n Reboot?" 0 0
102        if [ "$?" == 0 ]; then
103            reboot
104            exit 0
105        else
106            clear
107            echo -e "Remember to reboot so new Timezone can take effect.\n\n"
108            exit 0
109        fi
110    fi
111
112fi
113
114# Get the Date
115
116dialog --backtitle "$BACKTITLE" --calendar "Set the date" 0 0 2>/tmp/time
117
118# Exit if user chose to cancel
119if [ "$?" != "0" ]; then
120   exit 1
121fi
122
123# Get the Time
124
125dialog --backtitle "$BACKTITLE" --timebox "Set the time" 0 0 2>>/tmp/time
126
127# Exit if user chose to cancel
128if [ "$?" != "0" ]; then
129   exit 1
130fi
131
132# Format the input
133
134DAY=`cut -s -f1 -d '/' /tmp/time`
135MONTH=`cut -s -f2 -d '/' /tmp/time`
136YEAR=`cut -s -f3 -d '/' /tmp/time`
137HOURS=`cut -s -f1 -d ':' /tmp/time`
138MINUTES=`cut -s -f2 -d ':' /tmp/time`
139
140SET=$YEAR$MONTH$DAY$HOURS$MINUTES
141
142echo $SET
143
144
145# Set and apply to internal clock
146
147date $SET
148hwclock --systohc --utc
149dialog --backtitle "$BACKTITLE" --infobox "The time and date have now been\nset and saved.\n\nenjoy" 0 0
150
151
152# Clean Up
153
154rm /tmp/time
155
ben-time-set/usr/share/ben-time-set/timezones
1Africa/Abidjan|GMT0
2Africa/Accra|GMT0
3Africa/Addis_Ababa|EAT-3
4Africa/Algiers|CET-1
5Africa/Asmara|EAT-3
6Africa/Bamako|GMT0
7Africa/Bangui|WAT-1
8Africa/Banjul|GMT0
9Africa/Bissau|GMT0
10Africa/Blantyre|CAT-2
11Africa/Brazzaville|WAT-1
12Africa/Bujumbura|CAT-2
13Africa/Casablanca|WET0
14Africa/Ceuta|CET-1CEST,M3.5.0,M10.5.0/3
15Africa/Conakry|GMT0
16Africa/Dakar|GMT0
17Africa/Dar_es_Salaam|EAT-3
18Africa/Djibouti|EAT-3
19Africa/Douala|WAT-1
20Africa/El_Aaiun|WET0
21Africa/Freetown|GMT0
22Africa/Gaborone|CAT-2
23Africa/Harare|CAT-2
24Africa/Johannesburg|SAST-2
25Africa/Kampala|EAT-3
26Africa/Khartoum|EAT-3
27Africa/Kigali|CAT-2
28Africa/Kinshasa|WAT-1
29Africa/Lagos|WAT-1
30Africa/Libreville|WAT-1
31Africa/Lome|GMT0
32Africa/Luanda|WAT-1
33Africa/Lubumbashi|CAT-2
34Africa/Lusaka|CAT-2
35Africa/Malabo|WAT-1
36Africa/Maputo|CAT-2
37Africa/Maseru|SAST-2
38Africa/Mbabane|SAST-2
39Africa/Mogadishu|EAT-3
40Africa/Monrovia|GMT0
41Africa/Nairobi|EAT-3
42Africa/Ndjamena|WAT-1
43Africa/Niamey|WAT-1
44Africa/Nouakchott|GMT0
45Africa/Ouagadougou|GMT0
46Africa/Porto-Novo|WAT-1
47Africa/Sao_Tome|GMT0
48Africa/Tripoli|EET-2
49Africa/Tunis|CET-1
50Africa/Windhoek|WAT-1WAST,M9.1.0,M4.1.0
51America/Adak|HAST10HADT,M3.2.0,M11.1.0
52America/Anchorage|AKST9AKDT,M3.2.0,M11.1.0
53America/Anguilla|AST4
54America/Antigua|AST4
55America/Araguaina|BRT3
56America/Argentina/Buenos_Aires|ART3
57America/Argentina/Catamarca|ART3
58America/Argentina/Cordoba|ART3
59America/Argentina/Jujuy|ART3
60America/Argentina/La_Rioja|ART3
61America/Argentina/Mendoza|ART3
62America/Argentina/Rio_Gallegos|ART3
63America/Argentina/Salta|ART3
64America/Argentina/San_Juan|ART3
65America/Argentina/Tucuman|ART3
66America/Argentina/Ushuaia|ART3
67America/Aruba|AST4
68America/Asuncion|PYT4PYST,M10.1.0/0,M4.2.0/0
69America/Atikokan|EST5
70America/Bahia|BRT3
71America/Barbados|AST4
72America/Belem|BRT3
73America/Belize|CST6
74America/Blanc-Sablon|AST4
75America/Boa_Vista|AMT4
76America/Bogota|COT5
77America/Boise|MST7MDT,M3.2.0,M11.1.0
78America/Cambridge_Bay|MST7MDT,M3.2.0,M11.1.0
79America/Campo_Grande|AMT4AMST,M10.3.0/0,M2.3.0/0
80America/Cancun|CST6CDT,M4.1.0,M10.5.0
81America/Caracas|VET4:30
82America/Cayenne|GFT3
83America/Cayman|EST5
84America/Chicago|CST6CDT,M3.2.0,M11.1.0
85America/Chihuahua|MST7MDT,M4.1.0,M10.5.0
86America/Costa_Rica|CST6
87America/Cuiaba|AMT4AMST,M10.3.0/0,M2.3.0/0
88America/Curacao|AST4
89America/Danmarkshavn|GMT0
90America/Dawson|PST8PDT,M3.2.0,M11.1.0
91America/Dawson|Creek|MST7
92America/Denver|MST7MDT,M3.2.0,M11.1.0
93America/Detroit|EST5EDT,M3.2.0,M11.1.0
94America/Dominica|AST4
95America/Edmonton|MST7MDT,M3.2.0,M11.1.0
96America/Eirunepe|AMT4
97America/El_Salvador|CST6
98America/Fortaleza|BRT3
99America/Glace_Bay|AST4ADT,M3.2.0,M11.1.0
100America/Goose_Bay|AST4ADT,M3.2.0/0:01,M11.1.0/0:01
101America/Grand_Turk|EST5EDT,M3.2.0,M11.1.0
102America/Grenada|AST4
103America/Guadeloupe|AST4
104America/Guatemala|CST6
105America/Guayaquil|ECT5
106America/Guyana|GYT4
107America/Halifax|AST4ADT,M3.2.0,M11.1.0
108America/Havana|CST5CDT,M3.2.0/0,M10.5.0/1
109America/Hermosillo|MST7
110America/Indiana/Indianapolis|EST5EDT,M3.2.0,M11.1.0
111America/Indiana/Knox|CST6CDT,M3.2.0,M11.1.0
112America/Indiana/Marengo|EST5EDT,M3.2.0,M11.1.0
113America/Indiana/Petersburg|EST5EDT,M3.2.0,M11.1.0
114America/Indiana/Tell_City|CST6CDT,M3.2.0,M11.1.0
115America/Indiana/Vevay|EST5EDT,M3.2.0,M11.1.0
116America/Indiana/Vincennes|EST5EDT,M3.2.0,M11.1.0
117America/Indiana/Winamac|EST5EDT,M3.2.0,M11.1.0
118America/Inuvik|MST7MDT,M3.2.0,M11.1.0
119America/Iqaluit|EST5EDT,M3.2.0,M11.1.0
120America/Jamaica|EST5
121America/Juneau|AKST9AKDT,M3.2.0,M11.1.0
122America/Kentucky/Louisville|EST5EDT,M3.2.0,M11.1.0
123America/Kentucky/Monticello|EST5EDT,M3.2.0,M11.1.0
124America/La_Paz|BOT4
125America/Lima|PET5
126America/Los_Angeles|PST8PDT,M3.2.0,M11.1.0
127America/Maceio|BRT3
128America/Managua|CST6
129America/Manaus|AMT4
130America/Marigot|AST4
131America/Martinique|AST4
132America/Matamoros|CST6CDT,M3.2.0,M11.1.0
133America/Mazatlan|MST7MDT,M4.1.0,M10.5.0
134America/Menominee|CST6CDT,M3.2.0,M11.1.0
135America/Merida|CST6CDT,M4.1.0,M10.5.0
136America/Mexico_City|CST6CDT,M4.1.0,M10.5.0
137America/Miquelon|PMST3PMDT,M3.2.0,M11.1.0
138America/Moncton|AST4ADT,M3.2.0,M11.1.0
139America/Monterrey|CST6CDT,M4.1.0,M10.5.0
140America/Montevideo|UYT3UYST,M10.1.0,M3.2.0
141America/Montreal|EST5EDT,M3.2.0,M11.1.0
142America/Montserrat|AST4
143America/Nassau|EST5EDT,M3.2.0,M11.1.0
144America/New_York|EST5EDT,M3.2.0,M11.1.0
145America/Nipigon|EST5EDT,M3.2.0,M11.1.0
146America/Nome|AKST9AKDT,M3.2.0,M11.1.0
147America/Noronha|FNT2
148America/North_Dakota/Center|CST6CDT,M3.2.0,M11.1.0
149America/North_Dakota/New|Salem|CST6CDT,M3.2.0,M11.1.0
150America/Ojinaga|MST7MDT,M3.2.0,M11.1.0
151America/Panama|EST5
152America/Pangnirtung|EST5EDT,M3.2.0,M11.1.0
153America/Paramaribo|SRT3
154America/Phoenix|MST7
155America/Port_of_Spain|AST4
156America/Port-au-Prince|EST5
157America/Porto|Velho|AMT4
158America/Puerto|Rico|AST4
159America/Rainy_River|CST6CDT,M3.2.0,M11.1.0
160America/Rankin_Inlet|CST6CDT,M3.2.0,M11.1.0
161America/Recife|BRT3
162America/Regina|CST6
163America/Rio_Branco|AMT4
164America/Santa_Isabel|PST8PDT,M4.1.0,M10.5.0
165America/Santarem|BRT3
166America/Santo_Domingo|AST4
167America/Sao_Paulo|BRT3BRST,M10.3.0/0,M2.3.0/0
168America/Scoresbysund|EGT1EGST,M3.5.0/0,M10.5.0/1
169America/Shiprock|MST7MDT,M3.2.0,M11.1.0
170America/St_Barthelemy|AST4
171America/St_Johns|NST3:30NDT,M3.2.0/0:01,M11.1.0/0:01
172America/St_Kitts|AST4
173America/St_Lucia|AST4
174America/St_Thomas|AST4
175America/St_Vincent|AST4
176America/Swift_Current|CST6
177America/Tegucigalpa|CST6
178America/Thule|AST4ADT,M3.2.0,M11.1.0
179America/Thunder_Bay|EST5EDT,M3.2.0,M11.1.0
180America/Tijuana|PST8PDT,M3.2.0,M11.1.0
181America/Toronto|EST5EDT,M3.2.0,M11.1.0
182America/Tortola|AST4
183America/Vancouver|PST8PDT,M3.2.0,M11.1.0
184America/Whitehorse|PST8PDT,M3.2.0,M11.1.0
185America/Winnipeg|CST6CDT,M3.2.0,M11.1.0
186America/Yakutat|AKST9AKDT,M3.2.0,M11.1.0
187America/Yellowknife|MST7MDT,M3.2.0,M11.1.0
188Antarctica/Casey|WST-8
189Antarctica/Davis|DAVT-7
190Antarctica/DumontDUrville|DDUT-10
191Antarctica/Macquarie|MIST-11
192Antarctica/Mawson|MAWT-5
193Antarctica/McMurdo|NZST-12NZDT,M9.5.0,M4.1.0/3
194Antarctica/Rothera|ROTT3
195Antarctica/South_Pole|NZST-12NZDT,M9.5.0,M4.1.0/3
196Antarctica/Syowa|SYOT-3
197Antarctica/Vostok|VOST-6
198Arctic/Longyearbyen|CET-1CEST,M3.5.0,M10.5.0/3
199Asia/Aden|AST-3
200Asia/Almaty|ALMT-6
201Asia/Anadyr|ANAT-11ANAST,M3.5.0,M10.5.0/3
202Asia/Aqtau|AQTT-5
203Asia/Aqtobe|AQTT-5
204Asia/Ashgabat|TMT-5
205Asia/Baghdad|AST-3
206Asia/Bahrain|AST-3
207Asia/Baku|AZT-4AZST,M3.5.0/4,M10.5.0/5
208Asia/Bangkok|ICT-7
209Asia/Beirut|EET-2EEST,M3.5.0/0,M10.5.0/0
210Asia/Bishkek|KGT-6
211Asia/Brunei|BNT-8
212Asia/Choibalsan|CHOT-8
213Asia/Chongqing|CST-8
214Asia/Colombo|IST-5:30
215Asia/Damascus|EET-2EEST,M4.1.5/0,M10.5.5/0
216Asia/Dhaka|BDT-6
217Asia/Dili|TLT-9
218Asia/Dubai|GST-4
219Asia/Dushanbe|TJT-5
220Asia/Gaza|EET-2EEST,M3.5.6/0:01,M9.1.5
221Asia/Harbin|CST-8
222Asia/Ho_Chi|Minh|ICT-7
223Asia/Hong_Kong|HKT-8
224Asia/Hovd|HOVT-7
225Asia/Irkutsk|IRKT-8IRKST,M3.5.0,M10.5.0/3
226Asia/Jakarta|WIT-7
227Asia/Jayapura|EIT-9
228Asia/Kabul|AFT-4:30
229Asia/Kamchatka|PETT-11PETST,M3.5.0,M10.5.0/3
230Asia/Karachi|PKT-5
231Asia/Kashgar|CST-8
232Asia/Kathmandu|NPT-5:45
233Asia/Kolkata|IST-5:30
234Asia/Krasnoyarsk|KRAT-7KRAST,M3.5.0,M10.5.0/3
235Asia/Kuala_Lumpur|MYT-8
236Asia/Kuching|MYT-8
237Asia/Kuwait|AST-3
238Asia/Macau|CST-8
239Asia/Magadan|MAGT-11MAGST,M3.5.0,M10.5.0/3
240Asia/Makassar|CIT-8
241Asia/Manila|PHT-8
242Asia/Muscat|GST-4
243Asia/Nicosia|EET-2EEST,M3.5.0/3,M10.5.0/4
244Asia/Novokuznetsk|NOVT-6NOVST,M3.5.0,M10.5.0/3
245Asia/Novosibirsk|NOVT-6NOVST,M3.5.0,M10.5.0/3
246Asia/Omsk|OMST-6OMSST,M3.5.0,M10.5.0/3
247Asia/Oral|ORAT-5
248Asia/Phnom_Penh|ICT-7
249Asia/Pontianak|WIT-7
250Asia/Pyongyang|KST-9
251Asia/Qatar|AST-3
252Asia/Qyzylorda|QYZT-6
253Asia/Rangoon|MMT-6:30
254Asia/Riyadh|AST-3
255Asia/Sakhalin|SAKT-10SAKST,M3.5.0,M10.5.0/3
256Asia/Samarkand|UZT-5
257Asia/Seoul|KST-9
258Asia/Shanghai|CST-8
259Asia/Singapore|SGT-8
260Asia/Taipei|CST-8
261Asia/Tashkent|UZT-5
262Asia/Tbilisi|GET-4
263Asia/Thimphu|BTT-6
264Asia/Tokyo|JST-9
265Asia/Ulaanbaatar|ULAT-8
266Asia/Urumqi|CST-8
267Asia/Vientiane|ICT-7
268Asia/Vladivostok|VLAT-10VLAST,M3.5.0,M10.5.0/3
269Asia/Yakutsk|YAKT-9YAKST,M3.5.0,M10.5.0/3
270Asia/Yekaterinburg|YEKT-5YEKST,M3.5.0,M10.5.0/3
271Asia/Yerevan|AMT-4AMST,M3.5.0,M10.5.0/3
272Atlantic/Azores|AZOT1AZOST,M3.5.0/0,M10.5.0/1
273Atlantic/Bermuda|AST4ADT,M3.2.0,M11.1.0
274Atlantic/Canary|WET0WEST,M3.5.0/1,M10.5.0
275Atlantic/Cape_Verde|CVT1
276Atlantic/Faroe|WET0WEST,M3.5.0/1,M10.5.0
277Atlantic/Madeira|WET0WEST,M3.5.0/1,M10.5.0
278Atlantic/Reykjavik|GMT0
279Atlantic/South_Georgia|GST2
280Atlantic/St_Helena|GMT0
281Atlantic/Stanley|FKT4FKST,M9.1.0,M4.3.0
282Australia/Adelaide|CST-9:30CST,M10.1.0,M4.1.0/3
283Australia/Brisbane|EST-10
284Australia/Broken_Hill|CST-9:30CST,M10.1.0,M4.1.0/3
285Australia/Currie|EST-10EST,M10.1.0,M4.1.0/3
286Australia/Darwin|CST-9:30
287Australia/Eucla|CWST-8:45
288Australia/Hobart|EST-10EST,M10.1.0,M4.1.0/3
289Australia/Lindeman|EST-10
290Australia/Lord_Howe|LHST-10:30LHST-11,M10.1.0,M4.1.0
291Australia/Melbourne|EST-10EST,M10.1.0,M4.1.0/3
292Australia/Perth|WST-8
293Australia/Sydney|EST-10EST,M10.1.0,M4.1.0/3
294Europe/Amsterdam|CET-1CEST,M3.5.0,M10.5.0/3
295Europe/Andorra|CET-1CEST,M3.5.0,M10.5.0/3
296Europe/Athens|EET-2EEST,M3.5.0/3,M10.5.0/4
297Europe/Belgrade|CET-1CEST,M3.5.0,M10.5.0/3
298Europe/Berlin|CET-1CEST,M3.5.0,M10.5.0/3
299Europe/Bratislava|CET-1CEST,M3.5.0,M10.5.0/3
300Europe/Brussels|CET-1CEST,M3.5.0,M10.5.0/3
301Europe/Bucharest|EET-2EEST,M3.5.0/3,M10.5.0/4
302Europe/Budapest|CET-1CEST,M3.5.0,M10.5.0/3
303Europe/Chisinau|EET-2EEST,M3.5.0/3,M10.5.0/4
304Europe/Copenhagen|CET-1CEST,M3.5.0,M10.5.0/3
305Europe/Dublin|GMT0IST,M3.5.0/1,M10.5.0
306Europe/Gibraltar|CET-1CEST,M3.5.0,M10.5.0/3
307Europe/Guernsey|GMT0BST,M3.5.0/1,M10.5.0
308Europe/Helsinki|EET-2EEST,M3.5.0/3,M10.5.0/4
309Europe/Isle_of_Man|GMT0BST,M3.5.0/1,M10.5.0
310Europe/Istanbul|EET-2EEST,M3.5.0/3,M10.5.0/4
311Europe/Jersey|GMT0BST,M3.5.0/1,M10.5.0
312Europe/Kaliningrad|EET-2EEST,M3.5.0,M10.5.0/3
313Europe/Kiev|EET-2EEST,M3.5.0/3,M10.5.0/4
314Europe/Lisbon|WET0WEST,M3.5.0/1,M10.5.0
315Europe/Ljubljana|CET-1CEST,M3.5.0,M10.5.0/3
316Europe/London|GMT0BST,M3.5.0/1,M10.5.0
317Europe/Luxembourg|CET-1CEST,M3.5.0,M10.5.0/3
318Europe/Madrid|CET-1CEST,M3.5.0,M10.5.0/3
319Europe/Malta|CET-1CEST,M3.5.0,M10.5.0/3
320Europe/Mariehamn|EET-2EEST,M3.5.0/3,M10.5.0/4
321Europe/Minsk|EET-2EEST,M3.5.0,M10.5.0/3
322Europe/Monaco|CET-1CEST,M3.5.0,M10.5.0/3
323Europe/Moscow|MSK-3MSD,M3.5.0,M10.5.0/3
324Europe/Oslo|CET-1CEST,M3.5.0,M10.5.0/3
325Europe/Paris|CET-1CEST,M3.5.0,M10.5.0/3
326Europe/Podgorica|CET-1CEST,M3.5.0,M10.5.0/3
327Europe/Prague|CET-1CEST,M3.5.0,M10.5.0/3
328Europe/Riga|EET-2EEST,M3.5.0/3,M10.5.0/4
329Europe/Rome|CET-1CEST,M3.5.0,M10.5.0/3
330Europe/Samara|SAMT-3SAMST,M3.5.0,M10.5.0/3
331Europe/San_Marino|CET-1CEST,M3.5.0,M10.5.0/3
332Europe/Sarajevo|CET-1CEST,M3.5.0,M10.5.0/3
333Europe/Simferopol|EET-2EEST,M3.5.0/3,M10.5.0/4
334Europe/Skopje|CET-1CEST,M3.5.0,M10.5.0/3
335Europe/Sofia|EET-2EEST,M3.5.0/3,M10.5.0/4
336Europe/Stockholm|CET-1CEST,M3.5.0,M10.5.0/3
337Europe/Tallinn|EET-2EEST,M3.5.0/3,M10.5.0/4
338Europe/Tirane|CET-1CEST,M3.5.0,M10.5.0/3
339Europe/Uzhgorod|EET-2EEST,M3.5.0/3,M10.5.0/4
340Europe/Vaduz|CET-1CEST,M3.5.0,M10.5.0/3
341Europe/Vatican|CET-1CEST,M3.5.0,M10.5.0/3
342Europe/Vienna|CET-1CEST,M3.5.0,M10.5.0/3
343Europe/Vilnius|EET-2EEST,M3.5.0/3,M10.5.0/4
344Europe/Volgograd|VOLT-3VOLST,M3.5.0,M10.5.0/3
345Europe/Warsaw|CET-1CEST,M3.5.0,M10.5.0/3
346Europe/Zagreb|CET-1CEST,M3.5.0,M10.5.0/3
347Europe/Zaporozhye|EET-2EEST,M3.5.0/3,M10.5.0/4
348Europe/Zurich|CET-1CEST,M3.5.0,M10.5.0/3
349Indian/Antananarivo|EAT-3
350Indian/Chagos|IOT-6
351Indian/Christmas|CXT-7
352Indian/Cocos|CCT-6:30
353Indian/Comoro|EAT-3
354Indian/Kerguelen|TFT-5
355Indian/Mahe|SCT-4
356Indian/Maldives|MVT-5
357Indian/Mauritius|MUT-4
358Indian/Mayotte|EAT-3
359Indian/Reunion|RET-4
360Pacific/Apia|WST11
361Pacific/Auckland|NZST-12NZDT,M9.5.0,M4.1.0/3
362Pacific/Chatham|CHAST-12:45CHADT,M9.5.0/2:45,M4.1.0/3:45
363Pacific/Efate|VUT-11
364Pacific/Enderbury|PHOT-13
365Pacific/Fakaofo|TKT10
366Pacific/Fiji|FJT-12
367Pacific/Funafuti|TVT-12
368Pacific/Galapagos|GALT6
369Pacific/Gambier|GAMT9
370Pacific/Guadalcanal|SBT-11
371Pacific/Guam|ChST-10
372Pacific/Honolulu|HST10
373Pacific/Johnston|HST10
374Pacific/Kiritimati|LINT-14
375Pacific/Kosrae|KOST-11
376Pacific/Kwajalein|MHT-12
377Pacific/Majuro|MHT-12
378Pacific/Marquesas|MART9:30
379Pacific/Midway|SST11
380Pacific/Nauru|NRT-12
381Pacific/Niue|NUT11
382Pacific/Norfolk|NFT-11:30
383Pacific/Noumea|NCT-11
384Pacific/Pago|Pago|SST11
385Pacific/Palau|PWT-9
386Pacific/Pitcairn|PST8
387Pacific/Ponape|PONT-11
388Pacific/Port_Moresby|PGT-10
389Pacific/Rarotonga|CKT10
390Pacific/Saipan|ChST-10
391Pacific/Tahiti|TAHT10
392Pacific/Tarawa|GILT-12
393Pacific/Tongatapu|TOT-13
394Pacific/Truk|TRUT-10
395Pacific/Wake|WAKT-12
396Pacific/Wallis|WFT-12

Archive Download the corresponding diff file

Branches:
master



interactive