Skip to content

Commit 0f65fe9

Browse files
author
ugjka
committed
update timezone shapefile to 2024a, and fix Asia/Almaty
1 parent b5b5005 commit 0f65fe9

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

gen.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
//go:generate go run tzshapefilegen/main.go -release 2023d
1+
//go:generate go run tzshapefilegen/main.go -release 2024a
22

33
package tz

shapefile.gz

74.7 KB
Binary file not shown.

tz_test.go

+8
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ var tt = []struct {
7272
err: nil,
7373
},
7474
},
75+
{
76+
"Kazakhstan",
77+
Point{76.9457275, 43.2363924},
78+
result{
79+
zones: []string{"Asia/Almaty"},
80+
err: nil,
81+
},
82+
},
7583
}
7684

7785
func TestGetZone(t *testing.T) {

0 commit comments

Comments
 (0)