timezone 1.2.12 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (595) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.markdown +7 -0
  3. data/Rakefile +1 -1
  4. data/data/Africa/Abidjan +1 -1
  5. data/data/Africa/Accra +1 -1
  6. data/data/Africa/Addis_Ababa +1 -1
  7. data/data/Africa/Algiers +1 -1
  8. data/data/Africa/Asmara +1 -1
  9. data/data/Africa/Asmera +1 -1
  10. data/data/Africa/Bamako +1 -1
  11. data/data/Africa/Bangui +1 -1
  12. data/data/Africa/Banjul +1 -1
  13. data/data/Africa/Bissau +1 -1
  14. data/data/Africa/Blantyre +1 -1
  15. data/data/Africa/Brazzaville +1 -1
  16. data/data/Africa/Bujumbura +1 -1
  17. data/data/Africa/Cairo +1 -1
  18. data/data/Africa/Casablanca +1 -1
  19. data/data/Africa/Ceuta +1 -1
  20. data/data/Africa/Conakry +1 -1
  21. data/data/Africa/Dakar +1 -1
  22. data/data/Africa/Dar_es_Salaam +1 -1
  23. data/data/Africa/Djibouti +1 -1
  24. data/data/Africa/Douala +1 -1
  25. data/data/Africa/El_Aaiun +1 -1
  26. data/data/Africa/Freetown +1 -1
  27. data/data/Africa/Gaborone +1 -1
  28. data/data/Africa/Harare +1 -1
  29. data/data/Africa/Johannesburg +1 -1
  30. data/data/Africa/Juba +1 -1
  31. data/data/Africa/Kampala +1 -1
  32. data/data/Africa/Kigali +1 -1
  33. data/data/Africa/Kinshasa +1 -1
  34. data/data/Africa/Lagos +1 -1
  35. data/data/Africa/Libreville +1 -1
  36. data/data/Africa/Lome +1 -1
  37. data/data/Africa/Luanda +1 -1
  38. data/data/Africa/Lubumbashi +1 -1
  39. data/data/Africa/Lusaka +1 -1
  40. data/data/Africa/Malabo +1 -1
  41. data/data/Africa/Maputo +1 -1
  42. data/data/Africa/Maseru +1 -1
  43. data/data/Africa/Mbabane +1 -1
  44. data/data/Africa/Mogadishu +1 -1
  45. data/data/Africa/Monrovia +1 -1
  46. data/data/Africa/Nairobi +1 -1
  47. data/data/Africa/Ndjamena +1 -1
  48. data/data/Africa/Niamey +1 -1
  49. data/data/Africa/Nouakchott +1 -1
  50. data/data/Africa/Ouagadougou +1 -1
  51. data/data/Africa/Porto-Novo +1 -1
  52. data/data/Africa/Timbuktu +1 -1
  53. data/data/Africa/Tripoli +1 -1
  54. data/data/Africa/Tunis +1 -1
  55. data/data/America/Adak +1 -1
  56. data/data/America/Anchorage +1 -1
  57. data/data/America/Anguilla +1 -1
  58. data/data/America/Antigua +1 -1
  59. data/data/America/Araguaina +1 -1
  60. data/data/America/Argentina/Buenos_Aires +1 -1
  61. data/data/America/Argentina/Catamarca +1 -1
  62. data/data/America/Argentina/ComodRivadavia +1 -1
  63. data/data/America/Argentina/Cordoba +1 -1
  64. data/data/America/Argentina/Jujuy +1 -1
  65. data/data/America/Argentina/La_Rioja +1 -1
  66. data/data/America/Argentina/Mendoza +1 -1
  67. data/data/America/Argentina/Rio_Gallegos +1 -1
  68. data/data/America/Argentina/Salta +1 -1
  69. data/data/America/Argentina/San_Juan +1 -1
  70. data/data/America/Argentina/San_Luis +1 -1
  71. data/data/America/Argentina/Tucuman +1 -1
  72. data/data/America/Argentina/Ushuaia +1 -1
  73. data/data/America/Aruba +1 -1
  74. data/data/America/Asuncion +1 -1
  75. data/data/America/Atikokan +1 -1
  76. data/data/America/Atka +1 -1
  77. data/data/America/Bahia +1 -1
  78. data/data/America/Bahia_Banderas +1 -1
  79. data/data/America/Barbados +1 -1
  80. data/data/America/Belem +1 -1
  81. data/data/America/Belize +1 -1
  82. data/data/America/Blanc-Sablon +1 -1
  83. data/data/America/Boa_Vista +1 -1
  84. data/data/America/Bogota +1 -1
  85. data/data/America/Boise +1 -1
  86. data/data/America/Buenos_Aires +1 -1
  87. data/data/America/Cambridge_Bay +1 -1
  88. data/data/America/Cancun +1 -1
  89. data/data/America/Caracas +1 -1
  90. data/data/America/Catamarca +1 -1
  91. data/data/America/Cayenne +1 -1
  92. data/data/America/Cayman +1 -1
  93. data/data/America/Chicago +1 -1
  94. data/data/America/Chihuahua +1 -1
  95. data/data/America/Coral_Harbour +1 -1
  96. data/data/America/Cordoba +1 -1
  97. data/data/America/Costa_Rica +1 -1
  98. data/data/America/Creston +1 -1
  99. data/data/America/Curacao +1 -1
  100. data/data/America/Danmarkshavn +1 -1
  101. data/data/America/Dawson +1 -1
  102. data/data/America/Dawson_Creek +1 -1
  103. data/data/America/Denver +1 -1
  104. data/data/America/Detroit +1 -1
  105. data/data/America/Dominica +1 -1
  106. data/data/America/Edmonton +1 -1
  107. data/data/America/Eirunepe +1 -1
  108. data/data/America/El_Salvador +1 -1
  109. data/data/America/Ensenada +1 -1
  110. data/data/America/Fort_Nelson +1 -1
  111. data/data/America/Fort_Wayne +1 -1
  112. data/data/America/Fortaleza +1 -1
  113. data/data/America/Glace_Bay +1 -1
  114. data/data/America/Godthab +1 -1
  115. data/data/America/Goose_Bay +1 -1
  116. data/data/America/Grand_Turk +1 -1
  117. data/data/America/Grenada +1 -1
  118. data/data/America/Guadeloupe +1 -1
  119. data/data/America/Guatemala +1 -1
  120. data/data/America/Guayaquil +1 -1
  121. data/data/America/Guyana +1 -1
  122. data/data/America/Halifax +1 -1
  123. data/data/America/Havana +1 -1
  124. data/data/America/Hermosillo +1 -1
  125. data/data/America/Indiana/Indianapolis +1 -1
  126. data/data/America/Indiana/Knox +1 -1
  127. data/data/America/Indiana/Marengo +1 -1
  128. data/data/America/Indiana/Petersburg +1 -1
  129. data/data/America/Indiana/Tell_City +1 -1
  130. data/data/America/Indiana/Vevay +1 -1
  131. data/data/America/Indiana/Vincennes +1 -1
  132. data/data/America/Indiana/Winamac +1 -1
  133. data/data/America/Indianapolis +1 -1
  134. data/data/America/Inuvik +1 -1
  135. data/data/America/Iqaluit +1 -1
  136. data/data/America/Jamaica +1 -1
  137. data/data/America/Jujuy +1 -1
  138. data/data/America/Juneau +1 -1
  139. data/data/America/Kentucky/Louisville +1 -1
  140. data/data/America/Kentucky/Monticello +1 -1
  141. data/data/America/Knox_IN +1 -1
  142. data/data/America/Kralendijk +1 -1
  143. data/data/America/La_Paz +1 -1
  144. data/data/America/Lima +1 -1
  145. data/data/America/Los_Angeles +1 -1
  146. data/data/America/Louisville +1 -1
  147. data/data/America/Lower_Princes +1 -1
  148. data/data/America/Maceio +1 -1
  149. data/data/America/Managua +1 -1
  150. data/data/America/Manaus +1 -1
  151. data/data/America/Marigot +1 -1
  152. data/data/America/Martinique +1 -1
  153. data/data/America/Matamoros +1 -1
  154. data/data/America/Mazatlan +1 -1
  155. data/data/America/Mendoza +1 -1
  156. data/data/America/Menominee +1 -1
  157. data/data/America/Merida +1 -1
  158. data/data/America/Metlakatla +1 -1
  159. data/data/America/Mexico_City +1 -1
  160. data/data/America/Miquelon +1 -1
  161. data/data/America/Moncton +1 -1
  162. data/data/America/Monterrey +1 -1
  163. data/data/America/Montevideo +1 -1
  164. data/data/America/Montreal +1 -1
  165. data/data/America/Montserrat +1 -1
  166. data/data/America/Nassau +1 -1
  167. data/data/America/New_York +1 -1
  168. data/data/America/Nipigon +1 -1
  169. data/data/America/Nome +1 -1
  170. data/data/America/Noronha +1 -1
  171. data/data/America/North_Dakota/Beulah +1 -1
  172. data/data/America/North_Dakota/Center +1 -1
  173. data/data/America/North_Dakota/New_Salem +1 -1
  174. data/data/America/Ojinaga +1 -1
  175. data/data/America/Panama +1 -1
  176. data/data/America/Pangnirtung +1 -1
  177. data/data/America/Paramaribo +1 -1
  178. data/data/America/Phoenix +1 -1
  179. data/data/America/Port-au-Prince +1 -1
  180. data/data/America/Port_of_Spain +1 -1
  181. data/data/America/Porto_Acre +1 -1
  182. data/data/America/Porto_Velho +1 -1
  183. data/data/America/Puerto_Rico +1 -1
  184. data/data/America/Punta_Arenas +1 -1
  185. data/data/America/Rainy_River +1 -1
  186. data/data/America/Rankin_Inlet +1 -1
  187. data/data/America/Recife +1 -1
  188. data/data/America/Regina +1 -1
  189. data/data/America/Resolute +1 -1
  190. data/data/America/Rio_Branco +1 -1
  191. data/data/America/Rosario +1 -1
  192. data/data/America/Santa_Isabel +1 -1
  193. data/data/America/Santarem +1 -1
  194. data/data/America/Santiago +1 -1
  195. data/data/America/Santo_Domingo +1 -1
  196. data/data/America/Scoresbysund +1 -1
  197. data/data/America/Shiprock +1 -1
  198. data/data/America/Sitka +1 -1
  199. data/data/America/St_Barthelemy +1 -1
  200. data/data/America/St_Johns +1 -1
  201. data/data/America/St_Kitts +1 -1
  202. data/data/America/St_Lucia +1 -1
  203. data/data/America/St_Thomas +1 -1
  204. data/data/America/St_Vincent +1 -1
  205. data/data/America/Swift_Current +1 -1
  206. data/data/America/Tegucigalpa +1 -1
  207. data/data/America/Thule +1 -1
  208. data/data/America/Thunder_Bay +1 -1
  209. data/data/America/Tijuana +1 -1
  210. data/data/America/Toronto +1 -1
  211. data/data/America/Tortola +1 -1
  212. data/data/America/Vancouver +1 -1
  213. data/data/America/Virgin +1 -1
  214. data/data/America/Whitehorse +1 -1
  215. data/data/America/Winnipeg +1 -1
  216. data/data/America/Yakutat +1 -1
  217. data/data/America/Yellowknife +1 -1
  218. data/data/Antarctica/Davis +1 -1
  219. data/data/Antarctica/DumontDUrville +1 -1
  220. data/data/Antarctica/Macquarie +1 -1
  221. data/data/Antarctica/Mawson +1 -1
  222. data/data/Antarctica/McMurdo +1 -1
  223. data/data/Antarctica/Palmer +1 -1
  224. data/data/Antarctica/Rothera +1 -1
  225. data/data/Antarctica/South_Pole +1 -1
  226. data/data/Antarctica/Syowa +1 -1
  227. data/data/Antarctica/Troll +1 -1
  228. data/data/Antarctica/Vostok +1 -1
  229. data/data/Arctic/Longyearbyen +1 -1
  230. data/data/Asia/Aden +1 -1
  231. data/data/Asia/Almaty +1 -1
  232. data/data/Asia/Amman +1 -1
  233. data/data/Asia/Anadyr +1 -1
  234. data/data/Asia/Aqtau +1 -1
  235. data/data/Asia/Aqtobe +1 -1
  236. data/data/Asia/Ashgabat +1 -1
  237. data/data/Asia/Ashkhabad +1 -1
  238. data/data/Asia/Atyrau +1 -1
  239. data/data/Asia/Baghdad +1 -1
  240. data/data/Asia/Bahrain +1 -1
  241. data/data/Asia/Baku +1 -1
  242. data/data/Asia/Bangkok +1 -1
  243. data/data/Asia/Barnaul +1 -1
  244. data/data/Asia/Beirut +1 -1
  245. data/data/Asia/Bishkek +1 -1
  246. data/data/Asia/Brunei +1 -1
  247. data/data/Asia/Calcutta +1 -1
  248. data/data/Asia/Chita +1 -1
  249. data/data/Asia/Choibalsan +1 -1
  250. data/data/Asia/Chongqing +1 -1
  251. data/data/Asia/Chungking +1 -1
  252. data/data/Asia/Colombo +1 -1
  253. data/data/Asia/Dacca +1 -1
  254. data/data/Asia/Damascus +1 -1
  255. data/data/Asia/Dhaka +1 -1
  256. data/data/Asia/Dili +1 -1
  257. data/data/Asia/Dubai +1 -1
  258. data/data/Asia/Dushanbe +1 -1
  259. data/data/Asia/Famagusta +1 -1
  260. data/data/Asia/Gaza +1 -1
  261. data/data/Asia/Harbin +1 -1
  262. data/data/Asia/Hebron +1 -1
  263. data/data/Asia/Ho_Chi_Minh +1 -1
  264. data/data/Asia/Hong_Kong +1 -1
  265. data/data/Asia/Hovd +1 -1
  266. data/data/Asia/Irkutsk +1 -1
  267. data/data/Asia/Istanbul +1 -1
  268. data/data/Asia/Jakarta +1 -1
  269. data/data/Asia/Jayapura +1 -1
  270. data/data/Asia/Jerusalem +1 -1
  271. data/data/Asia/Kabul +1 -1
  272. data/data/Asia/Kamchatka +1 -1
  273. data/data/Asia/Karachi +1 -1
  274. data/data/Asia/Kashgar +1 -1
  275. data/data/Asia/Kathmandu +1 -1
  276. data/data/Asia/Katmandu +1 -1
  277. data/data/Asia/Khandyga +1 -1
  278. data/data/Asia/Kolkata +1 -1
  279. data/data/Asia/Krasnoyarsk +1 -1
  280. data/data/Asia/Kuala_Lumpur +1 -1
  281. data/data/Asia/Kuching +1 -1
  282. data/data/Asia/Kuwait +1 -1
  283. data/data/Asia/Macao +1 -1
  284. data/data/Asia/Macau +1 -1
  285. data/data/Asia/Magadan +1 -1
  286. data/data/Asia/Makassar +1 -1
  287. data/data/Asia/Manila +1 -1
  288. data/data/Asia/Muscat +1 -1
  289. data/data/Asia/Nicosia +1 -1
  290. data/data/Asia/Novokuznetsk +1 -1
  291. data/data/Asia/Novosibirsk +1 -1
  292. data/data/Asia/Omsk +1 -1
  293. data/data/Asia/Oral +1 -1
  294. data/data/Asia/Phnom_Penh +1 -1
  295. data/data/Asia/Pontianak +1 -1
  296. data/data/Asia/Qatar +1 -1
  297. data/data/Asia/Qyzylorda +1 -1
  298. data/data/Asia/Rangoon +1 -1
  299. data/data/Asia/Riyadh +1 -1
  300. data/data/Asia/Saigon +1 -1
  301. data/data/Asia/Sakhalin +1 -1
  302. data/data/Asia/Samarkand +1 -1
  303. data/data/Asia/Seoul +1 -1
  304. data/data/Asia/Shanghai +1 -1
  305. data/data/Asia/Singapore +1 -1
  306. data/data/Asia/Srednekolymsk +1 -1
  307. data/data/Asia/Taipei +1 -1
  308. data/data/Asia/Tashkent +1 -1
  309. data/data/Asia/Tbilisi +1 -1
  310. data/data/Asia/Tehran +1 -1
  311. data/data/Asia/Tel_Aviv +1 -1
  312. data/data/Asia/Thimbu +1 -1
  313. data/data/Asia/Thimphu +1 -1
  314. data/data/Asia/Tokyo +1 -1
  315. data/data/Asia/Tomsk +1 -1
  316. data/data/Asia/Ujung_Pandang +1 -1
  317. data/data/Asia/Ulaanbaatar +1 -1
  318. data/data/Asia/Ulan_Bator +1 -1
  319. data/data/Asia/Urumqi +1 -1
  320. data/data/Asia/Ust-Nera +1 -1
  321. data/data/Asia/Vientiane +1 -1
  322. data/data/Asia/Vladivostok +1 -1
  323. data/data/Asia/Yakutsk +1 -1
  324. data/data/Asia/Yangon +1 -1
  325. data/data/Asia/Yekaterinburg +1 -1
  326. data/data/Asia/Yerevan +1 -1
  327. data/data/Atlantic/Azores +1 -1
  328. data/data/Atlantic/Bermuda +1 -1
  329. data/data/Atlantic/Canary +1 -1
  330. data/data/Atlantic/Cape_Verde +1 -1
  331. data/data/Atlantic/Faeroe +1 -1
  332. data/data/Atlantic/Faroe +1 -1
  333. data/data/Atlantic/Jan_Mayen +1 -1
  334. data/data/Atlantic/Madeira +1 -1
  335. data/data/Atlantic/Reykjavik +1 -1
  336. data/data/Atlantic/South_Georgia +1 -1
  337. data/data/Atlantic/St_Helena +1 -1
  338. data/data/Atlantic/Stanley +1 -1
  339. data/data/Australia/ACT +1 -1
  340. data/data/Australia/Adelaide +1 -1
  341. data/data/Australia/Brisbane +1 -1
  342. data/data/Australia/Broken_Hill +1 -1
  343. data/data/Australia/Canberra +1 -1
  344. data/data/Australia/Currie +1 -1
  345. data/data/Australia/Darwin +1 -1
  346. data/data/Australia/Eucla +1 -1
  347. data/data/Australia/Hobart +1 -1
  348. data/data/Australia/LHI +1 -1
  349. data/data/Australia/Lindeman +1 -1
  350. data/data/Australia/Lord_Howe +1 -1
  351. data/data/Australia/Melbourne +1 -1
  352. data/data/Australia/NSW +1 -1
  353. data/data/Australia/North +1 -1
  354. data/data/Australia/Perth +1 -1
  355. data/data/Australia/Queensland +1 -1
  356. data/data/Australia/South +1 -1
  357. data/data/Australia/Sydney +1 -1
  358. data/data/Australia/Tasmania +1 -1
  359. data/data/Australia/Victoria +1 -1
  360. data/data/Australia/West +1 -1
  361. data/data/Australia/Yancowinna +1 -1
  362. data/data/Brazil/Acre +1 -1
  363. data/data/Brazil/DeNoronha +1 -1
  364. data/data/Brazil/West +1 -1
  365. data/data/CET +1 -1
  366. data/data/CST6CDT +1 -1
  367. data/data/Canada/Atlantic +1 -1
  368. data/data/Canada/Central +1 -1
  369. data/data/Canada/Eastern +1 -1
  370. data/data/Canada/Mountain +1 -1
  371. data/data/Canada/Newfoundland +1 -1
  372. data/data/Canada/Pacific +1 -1
  373. data/data/Canada/Saskatchewan +1 -1
  374. data/data/Canada/Yukon +1 -1
  375. data/data/Chile/Continental +1 -1
  376. data/data/Chile/EasterIsland +1 -1
  377. data/data/Cuba +1 -1
  378. data/data/EET +1 -1
  379. data/data/EST +1 -1
  380. data/data/EST5EDT +1 -1
  381. data/data/Egypt +1 -1
  382. data/data/Eire +1 -1
  383. data/data/Etc/GMT +1 -1
  384. data/data/Etc/GMT+0 +1 -1
  385. data/data/Etc/GMT+1 +1 -1
  386. data/data/Etc/GMT+10 +1 -1
  387. data/data/Etc/GMT+11 +1 -1
  388. data/data/Etc/GMT+12 +1 -1
  389. data/data/Etc/GMT+2 +1 -1
  390. data/data/Etc/GMT+3 +1 -1
  391. data/data/Etc/GMT+4 +1 -1
  392. data/data/Etc/GMT+5 +1 -1
  393. data/data/Etc/GMT+6 +1 -1
  394. data/data/Etc/GMT+7 +1 -1
  395. data/data/Etc/GMT+8 +1 -1
  396. data/data/Etc/GMT+9 +1 -1
  397. data/data/Etc/GMT-0 +1 -1
  398. data/data/Etc/GMT-1 +1 -1
  399. data/data/Etc/GMT-10 +1 -1
  400. data/data/Etc/GMT-11 +1 -1
  401. data/data/Etc/GMT-12 +1 -1
  402. data/data/Etc/GMT-13 +1 -1
  403. data/data/Etc/GMT-14 +1 -1
  404. data/data/Etc/GMT-2 +1 -1
  405. data/data/Etc/GMT-3 +1 -1
  406. data/data/Etc/GMT-4 +1 -1
  407. data/data/Etc/GMT-5 +1 -1
  408. data/data/Etc/GMT-6 +1 -1
  409. data/data/Etc/GMT-7 +1 -1
  410. data/data/Etc/GMT-8 +1 -1
  411. data/data/Etc/GMT-9 +1 -1
  412. data/data/Etc/GMT0 +1 -1
  413. data/data/Etc/Greenwich +1 -1
  414. data/data/Etc/UCT +1 -1
  415. data/data/Etc/UTC +1 -1
  416. data/data/Etc/Universal +1 -1
  417. data/data/Etc/Zulu +1 -1
  418. data/data/Europe/Amsterdam +1 -1
  419. data/data/Europe/Andorra +1 -1
  420. data/data/Europe/Astrakhan +1 -1
  421. data/data/Europe/Athens +1 -1
  422. data/data/Europe/Belfast +1 -1
  423. data/data/Europe/Belgrade +1 -1
  424. data/data/Europe/Berlin +1 -1
  425. data/data/Europe/Bratislava +1 -1
  426. data/data/Europe/Brussels +1 -1
  427. data/data/Europe/Bucharest +1 -1
  428. data/data/Europe/Budapest +1 -1
  429. data/data/Europe/Busingen +1 -1
  430. data/data/Europe/Chisinau +1 -1
  431. data/data/Europe/Copenhagen +1 -1
  432. data/data/Europe/Dublin +1 -1
  433. data/data/Europe/Gibraltar +1 -1
  434. data/data/Europe/Guernsey +1 -1
  435. data/data/Europe/Helsinki +1 -1
  436. data/data/Europe/Isle_of_Man +1 -1
  437. data/data/Europe/Istanbul +1 -1
  438. data/data/Europe/Jersey +1 -1
  439. data/data/Europe/Kaliningrad +1 -1
  440. data/data/Europe/Kiev +1 -1
  441. data/data/Europe/Kirov +1 -1
  442. data/data/Europe/Lisbon +1 -1
  443. data/data/Europe/Ljubljana +1 -1
  444. data/data/Europe/London +1 -1
  445. data/data/Europe/Luxembourg +1 -1
  446. data/data/Europe/Madrid +1 -1
  447. data/data/Europe/Malta +1 -1
  448. data/data/Europe/Mariehamn +1 -1
  449. data/data/Europe/Minsk +1 -1
  450. data/data/Europe/Monaco +1 -1
  451. data/data/Europe/Moscow +1 -1
  452. data/data/Europe/Nicosia +1 -1
  453. data/data/Europe/Oslo +1 -1
  454. data/data/Europe/Paris +1 -1
  455. data/data/Europe/Podgorica +1 -1
  456. data/data/Europe/Prague +1 -1
  457. data/data/Europe/Riga +1 -1
  458. data/data/Europe/Rome +1 -1
  459. data/data/Europe/Samara +1 -1
  460. data/data/Europe/San_Marino +1 -1
  461. data/data/Europe/Sarajevo +1 -1
  462. data/data/Europe/Saratov +1 -1
  463. data/data/Europe/Simferopol +1 -1
  464. data/data/Europe/Skopje +1 -1
  465. data/data/Europe/Sofia +1 -1
  466. data/data/Europe/Stockholm +1 -1
  467. data/data/Europe/Tallinn +1 -1
  468. data/data/Europe/Tirane +1 -1
  469. data/data/Europe/Tiraspol +1 -1
  470. data/data/Europe/Ulyanovsk +1 -1
  471. data/data/Europe/Uzhgorod +1 -1
  472. data/data/Europe/Vaduz +1 -1
  473. data/data/Europe/Vatican +1 -1
  474. data/data/Europe/Vienna +1 -1
  475. data/data/Europe/Vilnius +1 -1
  476. data/data/Europe/Volgograd +1 -1
  477. data/data/Europe/Warsaw +1 -1
  478. data/data/Europe/Zagreb +1 -1
  479. data/data/Europe/Zaporozhye +1 -1
  480. data/data/Europe/Zurich +1 -1
  481. data/data/Factory +1 -1
  482. data/data/GB +1 -1
  483. data/data/GB-Eire +1 -1
  484. data/data/GMT +1 -1
  485. data/data/GMT+0 +1 -1
  486. data/data/GMT-0 +1 -1
  487. data/data/GMT0 +1 -1
  488. data/data/Greenwich +1 -1
  489. data/data/HST +1 -1
  490. data/data/Hongkong +1 -1
  491. data/data/Iceland +1 -1
  492. data/data/Indian/Antananarivo +1 -1
  493. data/data/Indian/Chagos +1 -1
  494. data/data/Indian/Christmas +1 -1
  495. data/data/Indian/Cocos +1 -1
  496. data/data/Indian/Comoro +1 -1
  497. data/data/Indian/Kerguelen +1 -1
  498. data/data/Indian/Mahe +1 -1
  499. data/data/Indian/Maldives +1 -1
  500. data/data/Indian/Mauritius +1 -1
  501. data/data/Indian/Mayotte +1 -1
  502. data/data/Indian/Reunion +1 -1
  503. data/data/Iran +1 -1
  504. data/data/Israel +1 -1
  505. data/data/Jamaica +1 -1
  506. data/data/Japan +1 -1
  507. data/data/Kwajalein +1 -1
  508. data/data/Libya +1 -1
  509. data/data/MET +1 -1
  510. data/data/MST +1 -1
  511. data/data/MST7MDT +1 -1
  512. data/data/Mexico/BajaNorte +1 -1
  513. data/data/Mexico/BajaSur +1 -1
  514. data/data/Mexico/General +1 -1
  515. data/data/NZ +1 -1
  516. data/data/NZ-CHAT +1 -1
  517. data/data/Navajo +1 -1
  518. data/data/PRC +1 -1
  519. data/data/PST8PDT +1 -1
  520. data/data/Pacific/Apia +1 -1
  521. data/data/Pacific/Auckland +1 -1
  522. data/data/Pacific/Bougainville +1 -1
  523. data/data/Pacific/Chatham +1 -1
  524. data/data/Pacific/Chuuk +1 -1
  525. data/data/Pacific/Easter +1 -1
  526. data/data/Pacific/Efate +1 -1
  527. data/data/Pacific/Enderbury +1 -1
  528. data/data/Pacific/Fakaofo +1 -1
  529. data/data/Pacific/Fiji +1 -1
  530. data/data/Pacific/Funafuti +1 -1
  531. data/data/Pacific/Galapagos +1 -1
  532. data/data/Pacific/Gambier +1 -1
  533. data/data/Pacific/Guadalcanal +1 -1
  534. data/data/Pacific/Guam +1 -1
  535. data/data/Pacific/Honolulu +1 -1
  536. data/data/Pacific/Johnston +1 -1
  537. data/data/Pacific/Kiritimati +1 -1
  538. data/data/Pacific/Kosrae +1 -1
  539. data/data/Pacific/Kwajalein +1 -1
  540. data/data/Pacific/Majuro +1 -1
  541. data/data/Pacific/Marquesas +1 -1
  542. data/data/Pacific/Midway +1 -1
  543. data/data/Pacific/Nauru +1 -1
  544. data/data/Pacific/Niue +1 -1
  545. data/data/Pacific/Norfolk +1 -1
  546. data/data/Pacific/Noumea +1 -1
  547. data/data/Pacific/Pago_Pago +1 -1
  548. data/data/Pacific/Palau +1 -1
  549. data/data/Pacific/Pitcairn +1 -1
  550. data/data/Pacific/Pohnpei +1 -1
  551. data/data/Pacific/Ponape +1 -1
  552. data/data/Pacific/Port_Moresby +1 -1
  553. data/data/Pacific/Rarotonga +1 -1
  554. data/data/Pacific/Saipan +1 -1
  555. data/data/Pacific/Samoa +1 -1
  556. data/data/Pacific/Tahiti +1 -1
  557. data/data/Pacific/Tarawa +1 -1
  558. data/data/Pacific/Truk +1 -1
  559. data/data/Pacific/Wake +1 -1
  560. data/data/Pacific/Wallis +1 -1
  561. data/data/Pacific/Yap +1 -1
  562. data/data/Poland +1 -1
  563. data/data/Portugal +1 -1
  564. data/data/ROC +1 -1
  565. data/data/ROK +1 -1
  566. data/data/Singapore +1 -1
  567. data/data/Turkey +1 -1
  568. data/data/UCT +1 -1
  569. data/data/US/Alaska +1 -1
  570. data/data/US/Aleutian +1 -1
  571. data/data/US/Arizona +1 -1
  572. data/data/US/Central +1 -1
  573. data/data/US/East-Indiana +1 -1
  574. data/data/US/Eastern +1 -1
  575. data/data/US/Hawaii +1 -1
  576. data/data/US/Indiana-Starke +1 -1
  577. data/data/US/Michigan +1 -1
  578. data/data/US/Mountain +1 -1
  579. data/data/US/Pacific +1 -1
  580. data/data/US/Pacific-New +1 -1
  581. data/data/US/Samoa +1 -1
  582. data/data/UTC +1 -1
  583. data/data/Universal +1 -1
  584. data/data/W-SU +1 -1
  585. data/data/WET +1 -1
  586. data/data/Zulu +1 -1
  587. data/lib/timezone/lookup/test.rb +4 -0
  588. data/lib/timezone/parser.rb +41 -4
  589. data/lib/timezone/version.rb +1 -1
  590. data/lib/timezone/zone.rb +2 -4
  591. data/test/timezone/lookup/test_test.rb +12 -0
  592. data/test/timezone/test_loader.rb +1 -1
  593. data/test/timezone/test_zone.rb +14 -13
  594. metadata +5 -5
  595. data/data/Canada/East-Saskatchewan +0 -54
@@ -4,4 +4,4 @@
4
4
  275238000:HST:0:-37800
5
5
  114822000:HDT:1:-34200
6
6
  53226000:HST:0:-37800
7
- 2195379001:HST:0:-36000
7
+ 1:HST:0:-36000
@@ -1,4 +1,4 @@
1
1
  -2177415041:LMT:0:-37760
2
2
  2485037440:-1040:0:-38400
3
3
  481245600:-10:0:-36000
4
- 694360801:+14:0:50400
4
+ 1:+14:0:50400
data/data/Pacific/Kosrae CHANGED
@@ -1,4 +1,4 @@
1
1
  -2177491917:LMT:0:39116
2
2
  2169503516:+11:0:39600
3
3
  923094000:+12:0:43200
4
- 568123201:+11:0:39600
4
+ 1:+11:0:39600
@@ -1,4 +1,4 @@
1
1
  -2177492961:LMT:0:40160
2
2
  2169504560:+11:0:39600
3
3
  753836400:-12:0:-43200
4
- 737380801:+12:0:43200
4
+ 1:+12:0:43200
data/data/Pacific/Majuro CHANGED
@@ -1,3 +1,3 @@
1
1
  -2177493889:LMT:0:41088
2
2
  2169505488:+11:0:39600
3
- 1491217201:+12:0:43200
3
+ 1:+12:0:43200
@@ -1,2 +1,2 @@
1
1
  -1806676921:LMT:0:-33480
2
- 3289905721:-0930:0:-34200
2
+ 1:-0930:0:-34200
data/data/Pacific/Midway CHANGED
@@ -1,3 +1,3 @@
1
1
  -2445424633:LMT:0:45432
2
2
  583545600:LMT:0:-40968
3
- 3345107833:SST:0:-39600
3
+ 1:SST:0:-39600
data/data/Pacific/Nauru CHANGED
@@ -2,4 +2,4 @@
2
2
  667784260:+1130:0:41400
3
3
  76386600:+09:0:32400
4
4
  1095283800:+1130:0:41400
5
- 1188905401:+12:0:43200
5
+ 1:+12:0:43200
data/data/Pacific/Niue CHANGED
@@ -1,4 +1,4 @@
1
1
  -2177412021:LMT:0:-40780
2
2
  1577836820:-1120:0:-40800
3
3
  875664600:-1130:0:-41400
4
- 1207139401:-11:0:-39600
4
+ 1:-11:0:-39600
data/data/Pacific/Norfolk CHANGED
@@ -3,4 +3,4 @@
3
3
  751686120:+1130:0:41400
4
4
  10882800:+1230:1:45000
5
5
  1280970000:+1130:0:41400
6
- 39346201:+11:0:39600
6
+ 1:+11:0:39600
data/data/Pacific/Noumea CHANGED
@@ -5,4 +5,4 @@
5
5
  7426800:+12:1:43200
6
6
  560487600:+11:0:39600
7
7
  7862400:+12:1:43200
8
- 626000401:+11:0:39600
8
+ 1:+11:0:39600
@@ -1,3 +1,3 @@
1
1
  -2445424633:LMT:0:45432
2
2
  583545600:LMT:0:-40968
3
- 3345107833:SST:0:-39600
3
+ 1:SST:0:-39600
data/data/Pacific/Palau CHANGED
@@ -1,2 +1,2 @@
1
1
  -2177485077:LMT:0:32276
2
- 3660713877:+09:0:32400
2
+ 1:+09:0:32400
@@ -1,3 +1,3 @@
1
1
  -2177421581:LMT:0:-31220
2
2
  3071087380:-0830:0:-30600
3
- 589563001:-08:0:-28800
3
+ 1:-08:0:-28800
data/data/Pacific/Pohnpei CHANGED
@@ -1,2 +1,2 @@
1
1
  -2177490773:LMT:0:37972
2
- 3660719573:+11:0:39600
2
+ 1:+11:0:39600
data/data/Pacific/Ponape CHANGED
@@ -1,2 +1,2 @@
1
1
  -2177490773:LMT:0:37972
2
- 3660719573:+11:0:39600
2
+ 1:+11:0:39600
@@ -1,3 +1,3 @@
1
1
  -2840176121:LMT:0:35320
2
2
  473385608:PMMT:0:35312
3
- 3850019313:+10:0:36000
3
+ 1:+10:0:36000
@@ -25,4 +25,4 @@
25
25
  10884600:-0930:1:-34200
26
26
  20565000:-10:0:-36000
27
27
  10884600:-0930:1:-34200
28
- 815236201:-10:0:-36000
28
+ 1:-10:0:-36000
data/data/Pacific/Saipan CHANGED
@@ -1,4 +1,4 @@
1
1
  -3944626741:LMT:0:-51660
2
2
  1767139200:LMT:0:34740
3
3
  3154981140:GST:0:36000
4
- 505735201:ChST:0:36000
4
+ 1:ChST:0:36000
data/data/Pacific/Samoa CHANGED
@@ -1,3 +1,3 @@
1
1
  -2445424633:LMT:0:45432
2
2
  583545600:LMT:0:-40968
3
- 3345107833:SST:0:-39600
3
+ 1:SST:0:-39600
data/data/Pacific/Tahiti CHANGED
@@ -1,2 +1,2 @@
1
1
  -1806674505:LMT:0:-35896
2
- 3289903305:-10:0:-36000
2
+ 1:-10:0:-36000
data/data/Pacific/Tarawa CHANGED
@@ -1,2 +1,2 @@
1
1
  -2177494325:LMT:0:41524
2
- 3660723125:+12:0:43200
2
+ 1:+12:0:43200
data/data/Pacific/Truk CHANGED
@@ -1,2 +1,2 @@
1
1
  -2177489229:LMT:0:36428
2
- 3660718029:+10:0:36000
2
+ 1:+10:0:36000
data/data/Pacific/Wake CHANGED
@@ -1,2 +1,2 @@
1
1
  -2177492789:LMT:0:39988
2
- 3660721589:+12:0:43200
2
+ 1:+12:0:43200
data/data/Pacific/Wallis CHANGED
@@ -1,2 +1,2 @@
1
1
  -2177496921:LMT:0:44120
2
- 3660725721:+12:0:43200
2
+ 1:+12:0:43200
data/data/Pacific/Yap CHANGED
@@ -1,2 +1,2 @@
1
1
  -2177489229:LMT:0:36428
2
- 3660718029:+10:0:36000
2
+ 1:+10:0:36000
data/data/Poland CHANGED
@@ -163,6 +163,6 @@
163
163
  18144000:CEST:1:7200
164
164
  13305600:CET:0:3600
165
165
  18144000:CEST:1:7200
166
- 13305573:CET:0:3600
166
+ 13305600:CET:0:3600
167
167
  18748800:CEST:1:7200
168
168
  1:CET:0:3600
data/data/Portugal CHANGED
@@ -219,6 +219,6 @@
219
219
  18144000:WEST:1:3600
220
220
  13305600:WET:0:0
221
221
  18144000:WEST:1:3600
222
- 13305573:WET:0:0
222
+ 13305600:WET:0:0
223
223
  18748800:WEST:1:3600
224
224
  1:WET:0:0
data/data/ROC CHANGED
@@ -39,4 +39,4 @@
39
39
  15807600:CDT:1:32400
40
40
  118285200:CST:0:28800
41
41
  7945200:CDT:1:32400
42
- 1175677201:CST:0:28800
42
+ 1:CST:0:28800
data/data/ROK CHANGED
@@ -19,4 +19,4 @@
19
19
  13305600:KDT:1:36000
20
20
  18144000:KST:0:32400
21
21
  13305600:KDT:1:36000
22
- 890895601:KST:0:32400
22
+ 1:KST:0:32400
data/data/Singapore CHANGED
@@ -6,4 +6,4 @@
6
6
  14514600:+0730:0:27000
7
7
  112660200:+09:0:32400
8
8
  1145669400:+0730:0:27000
9
- 1104564601:+08:0:28800
9
+ 1:+08:0:28800
data/data/Turkey CHANGED
@@ -127,4 +127,4 @@
127
127
  19353600:EEST:1:10800
128
128
  12096000:EET:0:7200
129
129
  14155200:EEST:1:10800
130
- 10033201:+03:0:10800
130
+ 1:+03:0:10800
data/data/UCT CHANGED
@@ -1 +1 @@
1
- 1483228800:UCT:0:0
1
+ 0:UCT:0:0
data/data/US/Alaska CHANGED
@@ -143,6 +143,6 @@
143
143
  20559600:AKDT:1:-28800
144
144
  10890000:AKST:0:-32400
145
145
  20559600:AKDT:1:-28800
146
- 11494773:AKST:0:-32400
146
+ 11494800:AKST:0:-32400
147
147
  20559600:AKDT:1:-28800
148
148
  1:AKST:0:-32400
data/data/US/Aleutian CHANGED
@@ -143,6 +143,6 @@
143
143
  20559600:HDT:1:-32400
144
144
  10890000:HST:0:-36000
145
145
  20559600:HDT:1:-32400
146
- 11494773:HST:0:-36000
146
+ 11494800:HST:0:-36000
147
147
  20559600:HDT:1:-32400
148
148
  1:HST:0:-36000
data/data/US/Arizona CHANGED
@@ -9,4 +9,4 @@
9
9
  15807600:MWT:1:-21600
10
10
  712465140:MST:0:-25200
11
11
  15721200:MDT:1:-21600
12
- 1551888001:MST:0:-25200
12
+ 1:MST:0:-25200
data/data/US/Central CHANGED
@@ -234,6 +234,6 @@
234
234
  20559600:CDT:1:-18000
235
235
  10890000:CST:0:-21600
236
236
  20559600:CDT:1:-18000
237
- 11494773:CST:0:-21600
237
+ 11494800:CST:0:-21600
238
238
  20559600:CDT:1:-18000
239
239
  1:CST:0:-21600
data/data/US/East-Indiana CHANGED
@@ -97,6 +97,6 @@
97
97
  20559600:EDT:1:-14400
98
98
  10890000:EST:0:-18000
99
99
  20559600:EDT:1:-14400
100
- 11494773:EST:0:-18000
100
+ 11494800:EST:0:-18000
101
101
  20559600:EDT:1:-14400
102
102
  1:EST:0:-18000
data/data/US/Eastern CHANGED
@@ -234,6 +234,6 @@
234
234
  20559600:EDT:1:-14400
235
235
  10890000:EST:0:-18000
236
236
  20559600:EDT:1:-14400
237
- 11494773:EST:0:-18000
237
+ 11494800:EST:0:-18000
238
238
  20559600:EDT:1:-14400
239
239
  1:EST:0:-18000
data/data/US/Hawaii CHANGED
@@ -4,4 +4,4 @@
4
4
  275238000:HST:0:-37800
5
5
  114822000:HDT:1:-34200
6
6
  53226000:HST:0:-37800
7
- 2195379001:HST:0:-36000
7
+ 1:HST:0:-36000
@@ -152,6 +152,6 @@
152
152
  20559600:CDT:1:-18000
153
153
  10890000:CST:0:-21600
154
154
  20559600:CDT:1:-18000
155
- 11494773:CST:0:-21600
155
+ 11494800:CST:0:-21600
156
156
  20559600:CDT:1:-18000
157
157
  1:CST:0:-21600
data/data/US/Michigan CHANGED
@@ -135,6 +135,6 @@
135
135
  20559600:EDT:1:-14400
136
136
  10890000:EST:0:-18000
137
137
  20559600:EDT:1:-14400
138
- 11494773:EST:0:-18000
138
+ 11494800:EST:0:-18000
139
139
  20559600:EDT:1:-14400
140
140
  1:EST:0:-18000
data/data/US/Mountain CHANGED
@@ -156,6 +156,6 @@
156
156
  20559600:MDT:1:-21600
157
157
  10890000:MST:0:-25200
158
158
  20559600:MDT:1:-21600
159
- 11494773:MST:0:-25200
159
+ 11494800:MST:0:-25200
160
160
  20559600:MDT:1:-21600
161
161
  1:MST:0:-25200
data/data/US/Pacific CHANGED
@@ -184,6 +184,6 @@
184
184
  20559600:PDT:1:-25200
185
185
  10890000:PST:0:-28800
186
186
  20559600:PDT:1:-25200
187
- 11494773:PST:0:-28800
187
+ 11494800:PST:0:-28800
188
188
  20559600:PDT:1:-25200
189
189
  1:PST:0:-28800
data/data/US/Pacific-New CHANGED
@@ -184,6 +184,6 @@
184
184
  20559600:PDT:1:-25200
185
185
  10890000:PST:0:-28800
186
186
  20559600:PDT:1:-25200
187
- 11494773:PST:0:-28800
187
+ 11494800:PST:0:-28800
188
188
  20559600:PDT:1:-25200
189
189
  1:PST:0:-28800
data/data/US/Samoa CHANGED
@@ -1,3 +1,3 @@
1
1
  -2445424633:LMT:0:45432
2
2
  583545600:LMT:0:-40968
3
- 3345107833:SST:0:-39600
3
+ 1:SST:0:-39600
data/data/UTC CHANGED
@@ -1 +1 @@
1
- 1483228800:UTC:0:0
1
+ 0:UTC:0:0
data/data/Universal CHANGED
@@ -1 +1 @@
1
- 1483228800:UTC:0:0
1
+ 0:UTC:0:0
data/data/W-SU CHANGED
@@ -76,4 +76,4 @@
76
76
  18748800:MSD:1:14400
77
77
  12700800:MSK:0:10800
78
78
  113094000:MSK:0:14400
79
- 68954401:MSK:0:10800
79
+ 1:MSK:0:10800
data/data/WET CHANGED
@@ -120,6 +120,6 @@
120
120
  18144000:WEST:1:3600
121
121
  13305600:WET:0:0
122
122
  18144000:WEST:1:3600
123
- 13305573:WET:0:0
123
+ 13305600:WET:0:0
124
124
  18748800:WEST:1:3600
125
125
  1:WET:0:0
data/data/Zulu CHANGED
@@ -1 +1 @@
1
- 1483228800:UTC:0:0
1
+ 0:UTC:0:0
@@ -16,6 +16,10 @@ module Timezone
16
16
  @stubs[key(lat, long)] = timezone
17
17
  end
18
18
 
19
+ def unstub(lat, long)
20
+ @stubs.delete(key(lat, long))
21
+ end
22
+
19
23
  def default(timezone)
20
24
  @default_stub = timezone
21
25
  end
@@ -6,6 +6,9 @@ module Timezone
6
6
  # @!visibility private
7
7
  # Responsible for parsing timezone data into an exportable format.
8
8
  class Parser
9
+ MIN_YEAR = -500
10
+ MAX_YEAR = 2039
11
+
9
12
  LINE = /\s*(.+)\s*=\s*(.+)\s*isdst=(\d+)\s*gmtoff=([\+\-]*\d+)/
10
13
 
11
14
  ZONEINFO_DIR = '/usr/share/zoneinfo'.freeze
@@ -17,12 +20,44 @@ module Timezone
17
20
  end
18
21
 
19
22
  def perform
20
- Dir["#{zoneinfo}/right/**/*"].each do |file|
23
+ FileUtils.rm_rf('data')
24
+
25
+ Dir["#{zoneinfo}/posix/**/*"].each do |file|
21
26
  next if File.directory?(file)
22
27
  parse(file)
23
28
  end
24
29
  end
25
30
 
31
+ # Represents a single timezone data file line for a reference timezone.
32
+ class RefLine
33
+ def initialize(zone)
34
+ first =
35
+ `zdump -i posix/#{zone}`
36
+ .split("\n")
37
+ .reject(&:empty?)
38
+ .reject { |line| line.start_with?('TZ=') }
39
+ .first
40
+
41
+ _date, _time, raw_offset, @name = first.split(' ')
42
+ @offset = parse_offset(raw_offset)
43
+ end
44
+
45
+ def to_s
46
+ "0:#{@name}:0:#{@offset}"
47
+ end
48
+
49
+ private
50
+
51
+ def parse_offset(offset)
52
+ arity = offset.start_with?('-') ? -1 : 1
53
+
54
+ match = offset.match(/^[\-\+](\d{2})$/)
55
+ arity * match[1].to_i * 60 * 60
56
+ end
57
+ end
58
+
59
+ private_constant :RefLine
60
+
26
61
  # Represents a single timezone data file line.
27
62
  class Line
28
63
  attr_accessor :source, :name, :dst, :offset
@@ -50,7 +85,7 @@ module Timezone
50
85
  private
51
86
 
52
87
  def parse(file)
53
- zone = file.gsub("#{zoneinfo}/right/", '')
88
+ zone = file.gsub("#{zoneinfo}/posix/", '')
54
89
  print "Parsing #{zone}... "
55
90
  data = zdump(zone)
56
91
 
@@ -58,7 +93,7 @@ module Timezone
58
93
  result = []
59
94
 
60
95
  data.split("\n").each do |line|
61
- match = line.gsub('right/' + zone + ' ', '').match(LINE)
96
+ match = line.gsub('posix/' + zone + ' ', '').match(LINE)
62
97
  next if match.nil?
63
98
 
64
99
  line = Line.new(match)
@@ -77,12 +112,14 @@ module Timezone
77
112
  result << line
78
113
  end
79
114
 
115
+ result << RefLine.new(zone) if result.empty?
116
+
80
117
  write(zone, result)
81
118
  puts 'DONE'
82
119
  end
83
120
 
84
121
  def zdump(zone)
85
- `zdump -v right/#{zone}`
122
+ `zdump -v -c #{MIN_YEAR},#{MAX_YEAR} posix/#{zone}`
86
123
  end
87
124
 
88
125
  def write(zone, data)