Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 6 Mar 2017 12:44:53 +0200
From: JS <js@...ect.lv>
To: musl@...ts.openwall.com
Subject: DST change issue for timezones in southern hemisphere

Hi!

For some reason DST change in southern hemisphere occurs 1 hour late 
when clock is turned backward and 1 hour early when clock is turned forward.

For example, timezone for spec for Brazil is:
BRT3BRST,M10.3.0/0,M2.3.0/0
Which means that DST change occurs at midnight.

Output of date for both DST changes:

~# date
Sun Feb 19 00:59:59 BRST 2017
~# date
Sun Feb 19 00:00:00 BRT 2017

~# date
Sat Oct 14 22:59:59 BRT 2017
~# date
Sun Oct 15 00:00:00 BRST 2017

I've tested the same code on same hardware but with uClibc library 
instead of musl and it works fine.

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.