Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update for 2024 #3

Merged
merged 2 commits into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/go-playground/tz

go 1.17.0
120 changes: 58 additions & 62 deletions tz_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,6 @@ var (
CountryCode: "AU",
Name: "Australia/Broken_Hill",
},
{
CountryCode: "AU",
Name: "Australia/Currie",
},
{
CountryCode: "AU",
Name: "Australia/Darwin",
Expand Down Expand Up @@ -388,7 +384,7 @@ var (
},
{
Code: "BO",
Name: "Bolivia, Plurinational State of",
Name: "Bolivia (Plurinational State of)",
Zones: []Zone{
{
CountryCode: "BO",
Expand Down Expand Up @@ -551,6 +547,16 @@ var (
},
},
},
{
Code: "CV",
Name: "Cabo Verde",
Zones: []Zone{
{
CountryCode: "CV",
Name: "Atlantic/Cape_Verde",
},
},
},
{
Code: "KH",
Name: "Cambodia",
Expand Down Expand Up @@ -689,16 +695,6 @@ var (
},
},
},
{
Code: "CV",
Name: "Cape Verde",
Zones: []Zone{
{
CountryCode: "CV",
Name: "Atlantic/Cape_Verde",
},
},
},
{
Code: "KY",
Name: "Cayman Islands",
Expand Down Expand Up @@ -813,7 +809,7 @@ var (
},
{
Code: "CD",
Name: "Congo, the Democratic Republic of the",
Name: "Congo, Democratic Republic of the",
Zones: []Zone{
{
CountryCode: "CD",
Expand Down Expand Up @@ -891,7 +887,7 @@ var (
},
{
Code: "CZ",
Name: "Czech Republic",
Name: "Czechia",
Zones: []Zone{
{
CountryCode: "CZ",
Expand Down Expand Up @@ -1013,6 +1009,16 @@ var (
},
},
},
{
Code: "SZ",
Name: "Eswatini",
Zones: []Zone{
{
CountryCode: "SZ",
Name: "Africa/Mbabane",
},
},
},
{
Code: "ET",
Name: "Ethiopia",
Expand Down Expand Up @@ -1195,7 +1201,7 @@ var (
},
{
CountryCode: "GL",
Name: "America/Godthab",
Name: "America/Nuuk",
},
{
CountryCode: "GL",
Expand Down Expand Up @@ -1304,7 +1310,7 @@ var (
},
{
Code: "VA",
Name: "Holy See (Vatican City State)",
Name: "Holy See",
Zones: []Zone{
{
CountryCode: "VA",
Expand Down Expand Up @@ -1386,7 +1392,7 @@ var (
},
{
Code: "IR",
Name: "Iran, Islamic Republic of",
Name: "Iran (Islamic Republic of)",
Zones: []Zone{
{
CountryCode: "IR",
Expand Down Expand Up @@ -1534,7 +1540,7 @@ var (
Zones: []Zone{
{
CountryCode: "KI",
Name: "Pacific/Enderbury",
Name: "Pacific/Kanton",
},
{
CountryCode: "KI",
Expand All @@ -1548,7 +1554,7 @@ var (
},
{
Code: "KP",
Name: "Korea, Democratic People's Republic of",
Name: "Korea (Democratic People's Republic of)",
Zones: []Zone{
{
CountryCode: "KP",
Expand Down Expand Up @@ -1686,16 +1692,6 @@ var (
},
},
},
{
Code: "MK",
Name: "Macedonia, the Former Yugoslav Republic of",
Zones: []Zone{
{
CountryCode: "MK",
Name: "Europe/Skopje",
},
},
},
{
Code: "MG",
Name: "Madagascar",
Expand Down Expand Up @@ -1866,7 +1862,7 @@ var (
},
{
Code: "FM",
Name: "Micronesia, Federated States of",
Name: "Micronesia (Federated States of)",
Zones: []Zone{
{
CountryCode: "FM",
Expand Down Expand Up @@ -2084,6 +2080,16 @@ var (
},
},
},
{
Code: "MK",
Name: "North Macedonia",
Zones: []Zone{
{
CountryCode: "MK",
Name: "Europe/Skopje",
},
},
},
{
Code: "MP",
Name: "Northern Mariana Islands",
Expand Down Expand Up @@ -2698,16 +2704,6 @@ var (
},
},
},
{
Code: "SZ",
Name: "Swaziland",
Zones: []Zone{
{
CountryCode: "SZ",
Name: "Africa/Mbabane",
},
},
},
{
Code: "SE",
Name: "Sweden",
Expand Down Expand Up @@ -2922,17 +2918,31 @@ var (
},
{
Code: "GB",
Name: "United Kingdom",
Name: "United Kingdom of Great Britain and Northern Ireland",
Zones: []Zone{
{
CountryCode: "GB",
Name: "Europe/London",
},
},
},
{
Code: "UM",
Name: "United States Minor Outlying Islands",
Zones: []Zone{
{
CountryCode: "UM",
Name: "Pacific/Midway",
},
{
CountryCode: "UM",
Name: "Pacific/Wake",
},
},
},
{
Code: "US",
Name: "United States",
Name: "United States of America",
Zones: []Zone{
{
CountryCode: "US",
Expand Down Expand Up @@ -3052,20 +3062,6 @@ var (
},
},
},
{
Code: "UM",
Name: "United States Minor Outlying Islands",
Zones: []Zone{
{
CountryCode: "UM",
Name: "Pacific/Midway",
},
{
CountryCode: "UM",
Name: "Pacific/Wake",
},
},
},
{
Code: "UY",
Name: "Uruguay",
Expand Down Expand Up @@ -3102,7 +3098,7 @@ var (
},
{
Code: "VE",
Name: "Venezuela, Bolivarian Republic of",
Name: "Venezuela (Bolivarian Republic of)",
Zones: []Zone{
{
CountryCode: "VE",
Expand All @@ -3122,7 +3118,7 @@ var (
},
{
Code: "VG",
Name: "Virgin Islands, British",
Name: "Virgin Islands (British)",
Zones: []Zone{
{
CountryCode: "VG",
Expand All @@ -3132,7 +3128,7 @@ var (
},
{
Code: "VI",
Name: "Virgin Islands, U.S.",
Name: "Virgin Islands (U.S.)",
Zones: []Zone{
{
CountryCode: "VI",
Expand Down