Skip to content

Commit

Permalink
update timezone shapefile to 2024a, and fix Asia/Almaty
Browse files Browse the repository at this point in the history
  • Loading branch information
ugjka committed Mar 18, 2024
1 parent b5b5005 commit 0f65fe9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gen.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
//go:generate go run tzshapefilegen/main.go -release 2023d
//go:generate go run tzshapefilegen/main.go -release 2024a

package tz
Binary file modified shapefile.gz
Binary file not shown.
8 changes: 8 additions & 0 deletions tz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ var tt = []struct {
err: nil,
},
},
{
"Kazakhstan",
Point{76.9457275, 43.2363924},
result{
zones: []string{"Asia/Almaty"},
err: nil,
},
},
}

func TestGetZone(t *testing.T) {
Expand Down

0 comments on commit 0f65fe9

Please sign in to comment.