Skip to content

Instantly share code, notes, and snippets.

@coolchevy
Created October 29, 2013 13:52
Show Gist options
  • Save coolchevy/7215067 to your computer and use it in GitHub Desktop.
Save coolchevy/7215067 to your computer and use it in GitHub Desktop.
erlang_localtime Europe/Minsk Fix
diff --git a/include/tz_database.hrl b/include/tz_database.hrl
index 67e9c57..48a2a33 100644
--- a/include/tz_database.hrl
+++ b/include/tz_database.hrl
@@ -339,7 +339,7 @@
{"Europe/Luxembourg",{"CET","CET"},{"CEST","CEST"},60,60,{last,sun,mar},{2,0},{last,sun,oct},{3,0}},
{"Europe/Madrid",{"CET","CET"},{"CEST","CEST"},60,60,{last,sun,mar},{2,0},{last,sun,oct},{3,0}},
{"Europe/Malta",{"CET","CET"},{"CEST","CEST"},60,60,{last,sun,mar},{2,0},{last,sun,oct},{3,0}},
- {"Europe/Minsk",{"EET","EET"},{"EEST","EEST"},120,60,{last,sun,mar},{2,0},{last,sun,oct},{3,0}},
+ {"Europe/Minsk",{"FET","FET"},undef,180,0,undef,{0,0},undef,{0,0}},
{"Europe/Monaco",{"CET","CET"},{"CEST","CEST"},60,60,{last,sun,mar},{2,0},{last,sun,oct},{3,0}},
{"Europe/Moscow",{"MSK","MSK"},undef,240,0,undef,{0,0},undef,{0,0}},
{"Europe/Nicosia",{"EET","EET"},{"EEST","EEST"},120,60,{last,sun,mar},{3,0},{last,sun,oct},{4,0}},
diff --git a/include/tz_index.hrl b/include/tz_index.hrl
index 4d357e1..e33a820 100644
--- a/include/tz_index.hrl
+++ b/include/tz_index.hrl
@@ -1,4 +1,4 @@
--define(tz_index, {dict,164,33,64,32,165,99,
+-define(tz_index, {dict,165,33,64,32,165,99,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[["WGST","America/Godthab"]],
[["AQTT","Asia/Aqtau","Asia/Aqtobe"],
@@ -34,8 +34,8 @@
"Europe/Athens","Europe/Bucharest",
"Europe/Chisinau","Europe/Helsinki",
"Europe/Istanbul","Europe/Kaliningrad",
- "Europe/Kiev","Europe/Minsk","Europe/Nicosia",
- "Europe/Riga","Europe/Simferopol","Europe/Sofia",
+ "Europe/Kiev","Europe/Nicosia","Europe/Riga",
+ "Europe/Simferopol","Europe/Sofia",
"Europe/Tallinn","Europe/Uzhgorod",
"Europe/Vilnius","Europe/Zaporozhye"],
["NDT","America/St Johns"],
@@ -76,6 +76,7 @@
[["BDT","Asia/Dhaka"],["CKT","Pacific/Rarotonga"]],
[["PKT","Asia/Karachi"],
["NOVT","Asia/Novosibirsk"],
+ ["FET","Europe/Minsk"],
["MVT","Indian/Maldives"],
["VUT","Pacific/Efate"],
["HST","Pacific/Honolulu","Pacific/Johnston"],
@@ -94,9 +95,8 @@
"Asia/Damascus","Asia/Gaza","Asia/Istanbul",
"Asia/Nicosia","Europe/Athens","Europe/Bucharest",
"Europe/Chisinau","Europe/Helsinki",
- "Europe/Istanbul","Europe/Kiev","Europe/Minsk",
- "Europe/Nicosia","Europe/Riga",
- "Europe/Simferopol","Europe/Sofia",
+ "Europe/Istanbul","Europe/Kiev","Europe/Nicosia",
+ "Europe/Riga","Europe/Simferopol","Europe/Sofia",
"Europe/Zaporozhye"],
["HADT","America/Adak"],
["IDT","Asia/Jerusalem"],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment