linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lee <tony.p.lee@gmail.com>
To: Robin <robin@india.tejasnetworks.com>
Cc: Linuxppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: Re: TZ variable setting for denx 2.4.20
Date: Sat, 8 Jan 2005 19:30:00 -0800	[thread overview]
Message-ID: <470b639705010819304b3b3118@mail.gmail.com> (raw)
In-Reply-To: <41DE3A2A.3050105@india.tejasnetworks.com>

What's denx?
Anyway, in my embeded ppc-linux, I set it with 
/etc/TZ

echo "PST8PDT" > /etc/TZ to set it to pacific time.

Have fun.

-Tony


On Fri, 07 Jan 2005 12:58:42 +0530, Robin <robin@india.tejasnetworks.com> wrote:
> Hi
> Thanx for your response. I am setting TZ variable as
> given in the documentation.
>    export TZ="xxx5:30yyy4:30,M10.1.1,M2.1.1"
> Its working fine till Dec 31 23:59:59GMT. On Jan 01 00:00:00,
>  its not taking DST into account at all.
> 
> Please tell me some way of setting it across an year boundary.
> Thanks,
> Robin
> 
> Marius Groeger wrote:
> 
> > Robin,
> >
> > On Thu, 6 Jan 2005, Robin wrote:
> >
> >> I have tried with the standard linux date too. That too doesnt seem
> >> to consider timezone variable that has been set. Can you give me a
> >> way for setting timezone for southern hemisphere countries?? The
> >> busybox code uses strftime function. But that does not seem to
> >> consider TZ variable...
> >
> >
> > You should read up on how glibc handles all that timezone stuff:
> >
> >   sh# info libc "TZ Variable"
> >
> > Most notably, make sure you /etc/localtime is set up correctly. There
> > is also a tool (script) called tzselect which may be helpful for you.
> >
> > Note I'm not exactly an expert on this, I'm just giving pointers...
> >
> > Regards,
> > Marius
> >
> 
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 


-- 
-Tony
Having fun with FPGA HW + ppc + Linux

  reply	other threads:[~2005-01-09  3:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-06 10:04 TZ variable setting for denx 2.4.20 Robin
2005-01-06 12:12 ` 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 [this message]
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=470b639705010819304b3b3118@mail.gmail.com \
    --to=tony.p.lee@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=robin@india.tejasnetworks.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).