Skip to content

Commit e1f081c

Browse files
author
Зишан Мирза
committed
added more timezones
1 parent 2fdaf6a commit e1f081c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libc/src/time/timezone.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ int get_timezone_offset(char *timezone) {
5353
}
5454
}
5555

56+
if (tz.starts_with("Asia")) {
57+
if (tz.ends_with("Yakutsk")) {
58+
offset = 8;
59+
}
60+
}
61+
5662
return offset;
5763
}
5864

0 commit comments

Comments
 (0)