Skip to content

Commit 63a9e41

Browse files
author
Зишан Мирза
committed
add support for tzfile v3
1 parent b8b0c17 commit 63a9e41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/src/time/timezone.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ int get_timezone_offset(char *timezone) {
9393
return 0;
9494
}
9595

96-
// currently only supporting tzfile v2
97-
if (version != 0x32) {
96+
// currently only supporting tzfile v2 and v3
97+
if (version != 0x32 && version != 0x33) {
9898
return 0;
9999
}
100100

0 commit comments

Comments
 (0)