dongjiuzhu1
fbd6484532
libc/localtime: fix the timezone error caused by minor error
align: https://github.com/eggert/tz/blob/main/localtime.c
correct timeone in test:
server> timedatectl set-timezone Pacific/Auckland
server> timedatectl
TimeZone: NZDT, 46800
Local time: Sat, Oct 21 21:47:34 2023 NZDT
Universal time: Sat, Oct 21 08:47:34 2023 UTC
RTC time: Sat, Oct 21 08:47:35 2023
error timezone:
server> timedatectl set-timezone Pacific/Auckland
server> timedatectl
TimeZone: NZST, 43200
Local time: Sat, Oct 21 20:52:27 2023 NZST
Universal time: Sat, Oct 21 08:52:27 2023 UTC
RTC time: Sat, Oct 21 08:52:27 2023
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-10-26 00:10:04 +08:00
..
2023-07-08 13:50:48 +08:00
2021-08-05 19:45:24 +02:00
2023-06-26 19:14:08 +03:00
2023-06-26 19:14:08 +03:00
2023-06-26 19:14:08 +03:00
2023-06-26 19:14:08 +03:00
2022-02-23 01:21:26 +08:00
2022-07-12 11:42:34 +08:00
2023-06-26 19:14:08 +03:00
2023-06-26 19:14:08 +03:00
2023-06-26 19:14:08 +03:00
2023-10-26 00:10:04 +08:00
2023-07-23 22:02:03 -07:00
2023-03-21 11:16:30 -03:00
2023-07-24 10:34:23 -07:00
2023-06-26 19:14:08 +03:00
2023-06-26 19:14:08 +03:00
2022-04-13 10:16:42 +08:00