EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problems within epicsTime.cpp
From: Kay-Uwe Kasemir <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: [email protected]
Date: Thu, 31 Jan 2008 11:44:33 -0500
On Jan 31, 2008, at 09:59 , Andrew Johnson wrote:
Maybe we have to drop the mktime() calls [unfortunately there's no posix call gm_mktime()]

If I remember correctly, that was the root of our problems.
When TIMEZONE was set correctly,
and we were currently in DST mode,
mktime would _always_ apply DST corrections,
even if the passed-in time was something else,
even if you set tm_isdst=0 etc.

Again, the constant avoided all these issues,
so why did we fix what wasn't broken?

-Kay


References:
Problems within epicsTime.cpp Denison, PN (Peter)
Re: Problems within epicsTime.cpp Kay-Uwe Kasemir
Re: Problems within epicsTime.cpp Andrew Johnson
Re: Problems within epicsTime.cpp Andrew Johnson

Navigate by Date:
Prev: RE: Problems within epicsTime.cpp Denison, PN (Peter)
Next: Re: Problems within epicsTime.cpp Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problems within epicsTime.cpp Andrew Johnson
Next: RE: Problems within epicsTime.cpp Denison, PN (Peter)
Index: 2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·