24bfd8eed7
For correct %z output tzcode requires tm struct to be modified by mktime call or be output of localtime. But as TM_ZONE is null, we are comparing against +0000. See https://mm.icann.org/pipermail/tz/2022-July/031674.html Europe/Lisbon test is added to confirm that current implementation deviates from libc specification and uses more than just tm_isdst to find out a time zone's offset. Bug: 239128167 Test: adb shell /data/nativetest64/bionic-unit-tests-static/bionic-unit-tests-static Test: adb shell /data/nativetest/bionic-unit-tests-static/bionic-unit-tests-static Change-Id: Ic27775c840467c4e9ef55bc730a313709372314b |
||
---|---|---|
.. | ||
asctime.c | ||
bionic.cpp | ||
difftime.c | ||
localtime.c | ||
private.h | ||
strftime.c | ||
strptime.c | ||
tzfile.h |