From: Robin <robin@india•tejasnetworks.com>
To: linuxppc-embedded@lists•linuxppc.org,
Linuxppc-embedded <linuxppc-embedded@ozlabs•org>
Subject: TZ variable setting for denx 2.4.20
Date: Thu, 06 Jan 2005 10:04:09 -0000 [thread overview]
Message-ID: <4229EDFB.2040402@india.tejasnetworks.com> (raw)
Hi all,
I am trying to find a way of setting TZ environment variable with DST
support for southern hemisphere countries. Its giving a strange problem.
In southern hemisphere countries, DST starts around Oct and ends around
March. The DST time seems to be applicable from Oct until Dec31,19:00hrs.
Then it reverts back to standard time.
For northern hemisphere countries, its working perfectly.(Here DST starts
around March and ends around Oct. There is no year crossing DST period.)
I am sending the system timezone at various times..
bash> export TZ="xxx5:30yyy4:30,M10.1.1,M2.1.1"
bash> date 10010159
Mon Oct 1 01:59:00 xxx 2001
bash> date
Mon Oct 1 01:59:47 xxx 2001
bash> date
Mon Oct 1 03:00:10 yyy 2001
bash> date 12311900
Mon Dec 31 19:00:00 yyy 2001
bash> date 12311959
Mon Dec 31 18:59:00 xxx 2001 <----------- problem. It should have
reverted to xxx only in feb.
Please give me some idea for setting time zone for southern hemisphere
countries.
I am using 2.4.20 linux kernel from denx.I am running date command from
busybox version 0.6 which in is using strftime. The processor is ppc860T.
Regards,
Robin Mathew
next reply other threads:[~2005-01-06 10:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-06 10:04 Robin [this message]
2005-01-06 12:12 ` TZ variable setting for denx 2.4.20 Wolfgang Denk
2005-01-06 1:33 ` Robin
2005-01-06 13:56 ` Marius Groeger
2005-01-07 7:28 ` Robin
2005-01-09 3:30 ` Tony Lee
2005-01-19 22:11 ` annamaya
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4229EDFB.2040402@india.tejasnetworks.com \
--to=robin@india$(echo .)tejasnetworks.com \
--cc=linuxppc-embedded@lists$(echo .)linuxppc.org \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox