Skip to content

Commit e22b99d

Browse files
committed
refactor: extract tzVersion from tzdata URL
1 parent 3f7201f commit e22b99d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/tzgen/main.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ import (
1616
"strings"
1717
)
1818

19-
const tzdataURL = "https://data.iana.org/time-zones/releases/tzdata2025b.tar.gz"
19+
const (
20+
tzVersion = "2025b"
21+
tzdataURL = "https://data.iana.org/time-zones/releases/tzdata" + tzVersion + ".tar.gz"
22+
)
2023

2124
func main() {
2225
if err := run(context.Background()); err != nil {

0 commit comments

Comments
 (0)