* [Buildroot] Wrong DST flag
@ 2010-11-01 10:04 Viktar Palstsiuk
2010-11-01 11:40 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Viktar Palstsiuk @ 2010-11-01 10:04 UTC (permalink / raw)
To: buildroot
Hello,
I've noticed that my target based on buildroot shows incorrect time.
The issue is caused by wrong DST flag. The `date +%Z` still shows that
it is summer time now but time supposed to be switched to standard
time on October 31 at 3 a.m. (according to Russian rules)
# cat /etc/TZ
MSK-3MSD
# date +%z
+0400
# date +%Z
MSD
# date
Mon Nov 1 13:55:09 MSD 2010
I'm using uClibc-0.9.31, busybox-1.17.0, buildroot-20100715.
--
Viktar Palstsiuk
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Wrong DST flag
2010-11-01 10:04 [Buildroot] Wrong DST flag Viktar Palstsiuk
@ 2010-11-01 11:40 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2010-11-01 11:40 UTC (permalink / raw)
To: buildroot
>>>>> "Viktar" == Viktar Palstsiuk <viktar.palstsiuk@promwad.com> writes:
Viktar> Hello,
Viktar> I've noticed that my target based on buildroot shows incorrect time.
Viktar> The issue is caused by wrong DST flag. The `date +%Z` still shows that
Viktar> it is summer time now but time supposed to be switched to standard
Viktar> time on October 31 at 3 a.m. (according to Russian rules)
Viktar> # cat /etc/TZ
Viktar> MSK-3MSD
Viktar> # date +%z
Viktar> +0400
Viktar> # date +%Z
Viktar> MSD
Viktar> # date
Viktar> Mon Nov 1 13:55:09 MSD 2010
Viktar> I'm using uClibc-0.9.31, busybox-1.17.0, buildroot-20100715.
We don't do anything special about timezone in buildroot, so forwarding
to the uclibc list.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-01 11:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-01 10:04 [Buildroot] Wrong DST flag Viktar Palstsiuk
2010-11-01 11:40 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.