This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Re: wallclock timezone
On Sun, 2003-10-05 at 22:31, Jonathan Larmour wrote:
> Bob Koninckx wrote:
> > On Sun, 2003-10-05 at 19:54, Jonathan Larmour wrote:
> >
> >>Andrew Lunn wrote:
> >>
> >>>Hi Folks
> >>>
> >>>There does not appear to be any documentation about wallclocks. What
> >>>timezone should it return the time in? I assume its UTC? The code in
> >>>libc will then take care of any time zone offsets?
> >
> >
> > It doesn't
>
> In what respect? That's what cyg_libc_time_setzoneoffsets() et al is for,
> the values of which are used by localtime().
Oops, I typed the reply at the wrong line. I meant that you were right
about the daylight saving. My mail should have been
[snip]
> Correct. Although I'm not sure it distinguishes between UTC and GMT
> well enough when it comes to DST offsets.
It doesn't
Bob
>
> Jifl
> --
> eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
> --["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
----------------------------------------------------------------------
ir. Bob Koninckx
Katholieke Universiteit Leuven
Division Production Engineering, tel. +32 16 322535
Machine Design and Automation fax. +32 16 322987
Celestijnenlaan 300B bob.koninckx@mech.kuleuven.ac.be
B-3001 Leuven Belgium http://www.mech.kuleuven.ac.be/pma
----------------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss