mailing list of musl libc
 help / color / mirror / code / Atom feed
* DST change issue for timezones in southern hemisphere
@ 2017-03-06 10:44 JS
  2017-03-15 19:01 ` Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: JS @ 2017-03-06 10:44 UTC (permalink / raw)
  To: musl

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-16  0:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-06 10:44 DST change issue for timezones in southern hemisphere JS
2017-03-15 19:01 ` Rich Felker
2017-03-16  0:41   ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).