summaryrefslogtreecommitdiff
path: root/src/time/ctime_r.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-03-15 20:27:38 -0400
committerRich Felker <dalias@aerifal.cx>2017-03-15 20:27:38 -0400
commitdbff2bb889bc831599b022c49252c69bf48f4e4e (patch)
treeee5c9bd5f0bdbc723571653d87734f88b25cb223 /src/time/ctime_r.c
parent74bca42e1613c58805d7b048841c2fa8f8502158 (diff)
downloadmusl-dbff2bb889bc831599b022c49252c69bf48f4e4e.tar.gz
fix POSIX-format TZ dst transition times for southern hemisphere
the time of day at which daylight time switches over is specified in local time in the dst state prior to the transition. the code for handling this wrongly assumed it needed to switch whether dst or standard offset is applied to the transition time when the dst end date is before the dst start date (souther hemisphere summer), but in fact the end transition time should always be adjusted for dst, and the start transition time should always be adjusted for standard time.
Diffstat (limited to 'src/time/ctime_r.c')
0 files changed, 0 insertions, 0 deletions