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
<2008>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
- 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
<2008>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
|