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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Timezone
4
- VERSION = '1.2.12'.freeze
4
+ VERSION = '1.3.0'.freeze
5
5
  end
data/lib/timezone/zone.rb CHANGED
@@ -61,7 +61,7 @@ module Timezone
61
61
  def utc_to_local(time)
62
62
  time = sanitize(time)
63
63
 
64
- time.utc + utc_offset(time)
64
+ (time + utc_offset(time)).utc
65
65
  end
66
66
 
67
67
  alias time utc_to_local
@@ -109,7 +109,7 @@ module Timezone
109
109
  def local_to_utc(time)
110
110
  time = sanitize(time)
111
111
 
112
- time.utc - rule_for_local(time).rules.first[OFFSET_BIT]
112
+ (time - rule_for_local(time).rules.first[OFFSET_BIT]).utc
113
113
  end
114
114
 
115
115
  # Converts the given time to the local timezone and includes the UTC
@@ -199,7 +199,6 @@ module Timezone
199
199
  private_constant :RuleSet
200
200
 
201
201
  def rule_for_local(local)
202
- local = local.utc if local.respond_to?(:utc)
203
202
  local = local.to_i
204
203
 
205
204
  # For each rule, convert the local time into the UTC equivalent for
@@ -245,7 +244,6 @@ module Timezone
245
244
  end
246
245
 
247
246
  def rule_for_utc(time)
248
- time = time.utc if time.respond_to?(:utc)
249
247
  time = time.to_i
250
248
 
251
249
  private_rules[binary_search(time) { |t, r| match?(t, r) }]
@@ -18,6 +18,18 @@ class TestTest < ::Minitest::Test
18
18
  assert_equal 'America/Los_Angeles', mine.lookup(-10, 10)
19
19
  end
20
20
 
21
+ def test_simple_unstub
22
+ mine = lookup
23
+ mine.stub(-10, 10, nil)
24
+
25
+ assert_nil mine.lookup(-10, 10)
26
+
27
+ mine.unstub(-10, 10)
28
+ assert_raises(::Timezone::Error::Test) do
29
+ mine.lookup(-10, 10)
30
+ end
31
+ end
32
+
21
33
  def test_missing_stub
22
34
  assert_raises(::Timezone::Error::Test) do
23
35
  lookup.lookup(100, 100)
@@ -9,7 +9,7 @@ module Timezone
9
9
 
10
10
  def test_load
11
11
  assert_equal(
12
- [[1_483_228_800, 'GMT', false, 0]],
12
+ [[0, 'GMT', false, 0]],
13
13
  Loader.load('GMT')
14
14
  )
15
15
 
@@ -12,11 +12,11 @@ class TestZone < ::Minitest::Test
12
12
  end
13
13
 
14
14
  def utc_offset(name, year, month, day)
15
- zone(name).utc_offset(Time.new(year, month, day))
15
+ zone(name).utc_offset(Time.new(year, month, day).freeze)
16
16
  end
17
17
 
18
18
  def dst?(name, year, month, day)
19
- zone(name).dst?(Time.new(year, month, day))
19
+ zone(name).dst?(Time.new(year, month, day).freeze)
20
20
  end
21
21
 
22
22
  def la
@@ -33,8 +33,8 @@ class TestZone < ::Minitest::Test
33
33
  end
34
34
 
35
35
  def test_abbr
36
- assert_equal 'PDT', la.abbr(Time.new(2011, 6, 5))
37
- assert_equal 'PST', la.abbr(Time.new(2011, 11, 20))
36
+ assert_equal 'PDT', la.abbr(Time.new(2011, 6, 5).freeze)
37
+ assert_equal 'PST', la.abbr(Time.new(2011, 11, 20).freeze)
38
38
  end
39
39
 
40
40
  def test_valid?
@@ -94,7 +94,8 @@ class TestZone < ::Minitest::Test
94
94
  end
95
95
 
96
96
  def test_gmt_timezone
97
- assert_equal Time.now.utc.to_i, zone('GMT').utc_to_local(Time.now).to_i
97
+ t = Time.now.freeze
98
+ assert_equal t.dup.utc.to_i, zone('GMT').utc_to_local(t).to_i
98
99
  end
99
100
 
100
101
  def test_historical_time
@@ -187,23 +188,23 @@ class TestZone < ::Minitest::Test
187
188
  timezone = zone('America/Los_Angeles')
188
189
 
189
190
  # Time maps to two rules - we pick the first
190
- local = Time.utc(2015, 11, 1, 1, 50, 0)
191
- utc = Time.utc(2015, 11, 1, 8, 50, 0)
191
+ local = Time.utc(2015, 11, 1, 1, 50, 0).freeze
192
+ utc = Time.utc(2015, 11, 1, 8, 50, 0).freeze
192
193
  assert_equal(utc.to_s, timezone.local_to_utc(local).to_s)
193
194
 
194
195
  # Time is above the maximum - we pick the last rule
195
- local = Time.utc(3000, 1, 1, 0, 0, 0)
196
- utc = Time.utc(3000, 1, 1, 8, 0, 0)
196
+ local = Time.utc(3000, 1, 1, 0, 0, 0).freeze
197
+ utc = Time.utc(3000, 1, 1, 8, 0, 0).freeze
197
198
  assert_equal(utc.to_s, timezone.local_to_utc(local).to_s)
198
199
 
199
200
  # Time maps to a single rule - we pick that rule
200
- local = Time.utc(2015, 11, 1, 0, 1, 0)
201
- utc = Time.utc(2015, 11, 1, 7, 1, 0)
201
+ local = Time.utc(2015, 11, 1, 0, 1, 0).freeze
202
+ utc = Time.utc(2015, 11, 1, 7, 1, 0).freeze
202
203
  assert_equal(utc.to_s, timezone.local_to_utc(local).to_s)
203
204
 
204
205
  # Time is missing - we pick the first closest rule
205
- local = Time.utc(2015, 3, 8, 2, 50, 0)
206
- utc = Time.utc(2015, 3, 8, 9, 50, 0)
206
+ local = Time.utc(2015, 3, 8, 2, 50, 0).freeze
207
+ utc = Time.utc(2015, 3, 8, 9, 50, 0).freeze
207
208
  assert_equal(utc.to_s, timezone.local_to_utc(local).to_s)
208
209
  end
209
210
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timezone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.12
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pan Thomakos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-11 00:00:00.000000000 Z
11
+ date: 2018-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -462,7 +462,6 @@ files:
462
462
  - data/CST6CDT
463
463
  - data/Canada/Atlantic
464
464
  - data/Canada/Central
465
- - data/Canada/East-Saskatchewan
466
465
  - data/Canada/Eastern
467
466
  - data/Canada/Mountain
468
467
  - data/Canada/Newfoundland
@@ -745,10 +744,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
745
744
  version: '0'
746
745
  requirements: []
747
746
  rubyforge_project: timezone
748
- rubygems_version: 2.5.1
747
+ rubygems_version: 2.6.11
749
748
  signing_key:
750
749
  specification_version: 4
751
- summary: timezone-1.2.12
750
+ summary: timezone-1.3.0
752
751
  test_files:
753
752
  - test/data/Helsinki_rules_without_timestamps.json
754
753
  - test/data/asia
@@ -777,3 +776,4 @@ test_files:
777
776
  - test/timezone/test_mathn_compatibility.rb
778
777
  - test/timezone/test_nil_zone.rb
779
778
  - test/timezone/test_zone.rb
779
+ has_rdoc:
@@ -1,54 +0,0 @@
1
- -2030202085:LMT:0:-25116
2
- 398138484:MST:0:-25200
3
- 16930800:MDT:1:-21600
4
- 363481200:MST:0:-25200
5
- 13302000:MDT:1:-21600
6
- 18147600:MST:0:-25200
7
- 13302000:MDT:1:-21600
8
- 18147600:MST:0:-25200
9
- 13302000:MDT:1:-21600
10
- 18752400:MST:0:-25200
11
- 12697200:MDT:1:-21600
12
- 18752400:MST:0:-25200
13
- 13302000:MDT:1:-21600
14
- 79232400:MST:0:-25200
15
- 15721200:MDT:1:-21600
16
- 15728400:MST:0:-25200
17
- 15116400:MDT:1:-21600
18
- 16333200:MST:0:-25200
19
- 15721200:MDT:1:-21600
20
- 16333200:MST:0:-25200
21
- 15721200:MDT:1:-21600
22
- 15728400:MST:0:-25200
23
- 15721200:MDT:1:-21600
24
- 10378800:MST:0:-25200
25
- 110815200:MWT:1:-21600
26
- 4006800:MPT:1:-21600
27
- 16938000:MST:0:-25200
28
- 15721200:MDT:1:-21600
29
- 16938000:MST:0:-25200
30
- 13302000:MDT:1:-21600
31
- 18147600:MST:0:-25200
32
- 13302000:MDT:1:-21600
33
- 18147600:MST:0:-25200
34
- 13302000:MDT:1:-21600
35
- 18752400:MST:0:-25200
36
- 12697200:MDT:1:-21600
37
- 18752400:MST:0:-25200
38
- 13302000:MDT:1:-21600
39
- 18147600:MST:0:-25200
40
- 13302000:MDT:1:-21600
41
- 18147600:MST:0:-25200
42
- 13302000:MDT:1:-21600
43
- 18147600:MST:0:-25200
44
- 13302000:MDT:1:-21600
45
- 18147600:MST:0:-25200
46
- 13302000:MDT:1:-21600
47
- 18752400:MST:0:-25200
48
- 13302000:MDT:1:-21600
49
- 18147600:MST:0:-25200
50
- 13302000:MDT:1:-21600
51
- 49597200:MST:0:-25200
52
- 15721200:MDT:1:-21600
53
- 15728400:MST:0:-25200
54
- 1788966001:CST:0:-21600