* [ECOS] wallclock timezone
@ 2003-10-05 13:55 Andrew Lunn
2003-10-05 17:53 ` Bob Koninckx
2003-10-05 17:54 ` [ECOS] " Jonathan Larmour
0 siblings, 2 replies; 6+ messages in thread
From: Andrew Lunn @ 2003-10-05 13:55 UTC (permalink / raw)
To: eCos Disuss, Jonathan Larmour
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?
Is this correct?
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ECOS] wallclock timezone
2003-10-05 13:55 [ECOS] wallclock timezone Andrew Lunn
@ 2003-10-05 17:53 ` Bob Koninckx
2003-10-05 17:54 ` [ECOS] " Jonathan Larmour
1 sibling, 0 replies; 6+ messages in thread
From: Bob Koninckx @ 2003-10-05 17:53 UTC (permalink / raw)
To: Andrew Lunn; +Cc: eCos Disuss, Jonathan Larmour
On Sun, 2003-10-05 at 15:55, 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?
>
> Is this correct?
It should be. Last time I checked, the stuff in libc did not exactly
behave as expected though.
Bob
>
> Andrew
--
----------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ECOS] Re: wallclock timezone
2003-10-05 13:55 [ECOS] wallclock timezone Andrew Lunn
2003-10-05 17:53 ` Bob Koninckx
@ 2003-10-05 17:54 ` Jonathan Larmour
2003-10-05 17:59 ` Bob Koninckx
1 sibling, 1 reply; 6+ messages in thread
From: Jonathan Larmour @ 2003-10-05 17:54 UTC (permalink / raw)
To: Andrew Lunn; +Cc: eCos Disuss
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?
>
> Is this correct?
Correct. Although I'm not sure it distinguishes between UTC and GMT well
enough when it comes to DST offsets.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ECOS] Re: wallclock timezone
2003-10-05 17:54 ` [ECOS] " Jonathan Larmour
@ 2003-10-05 17:59 ` Bob Koninckx
2003-10-05 20:31 ` Jonathan Larmour
0 siblings, 1 reply; 6+ messages in thread
From: Bob Koninckx @ 2003-10-05 17:59 UTC (permalink / raw)
To: Jonathan Larmour; +Cc: Andrew Lunn, eCos Disuss
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
Bob
> >
> > Is this correct?
>
> Correct. Although I'm not sure it distinguishes between UTC and GMT well
> enough when it comes to DST offsets.
>
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ECOS] Re: wallclock timezone
2003-10-05 17:59 ` Bob Koninckx
@ 2003-10-05 20:31 ` Jonathan Larmour
2003-10-05 20:40 ` Bob Koninckx
0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Larmour @ 2003-10-05 20:31 UTC (permalink / raw)
To: bob.koninckx; +Cc: Andrew Lunn, eCos Disuss
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().
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ECOS] Re: wallclock timezone
2003-10-05 20:31 ` Jonathan Larmour
@ 2003-10-05 20:40 ` Bob Koninckx
0 siblings, 0 replies; 6+ messages in thread
From: Bob Koninckx @ 2003-10-05 20:40 UTC (permalink / raw)
To: Jonathan Larmour; +Cc: Andrew Lunn, eCos Disuss
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-10-05 20:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-05 13:55 [ECOS] wallclock timezone Andrew Lunn
2003-10-05 17:53 ` Bob Koninckx
2003-10-05 17:54 ` [ECOS] " Jonathan Larmour
2003-10-05 17:59 ` Bob Koninckx
2003-10-05 20:31 ` Jonathan Larmour
2003-10-05 20:40 ` Bob Koninckx
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 read-only IMAP folder(s) and NNTP newsgroup(s).