Forum OpenACS Q&A: Re: timezone usage

11: Re: timezone usage (response to 10)
Posted by Jerry Asher on
I think this is what I was alluding to earlier.  Some events are dependent on the user's local time zone, whatever that might be at the moment, and some are dependent on a fixed geographical time zone.

On a side note, when is a day not even close to 86,400 seconds?

I found a bug in my app last night where it displayed Sunday twice next week.  Very odd.  Until I discovered that for tcl, next Sunday where DST comes into effect is a day with 90,000 seconds.  It was not suff for me to just add 86,400 to the last clock scanned val, I needed to add "1 day" to it.  Presumably there's a day in April with only 82,800 seconds....