Trivial Improvement: Daylight Savings

Posted by David Haley on Tue 30 Sep 2003 07:16 AM — 4 posts, 14,397 views.

USA #0
Hi there :)

How hard would it be to have the forum software be aware of daylight savings? I'm in pacific time and the forum knows that, but it is still putting all times one hour behind what they should be.

It's fairly trivial and minor, I know, but I seem to recall that getting whether or not it's daylight savings is also fairly easy. I could be completely wrong on that, and if that's the case please ignore this comment. Otherwise, please don't. *grin* :P Thanks.
Australia Forum Administrator #1
Actually I think that finding if daylight saving is active is so hard it has been de-implemented from the Unix gettimeofday (or something similar).

For one thing, it changes according to political decisions. For instance, a few years ago it was moved forward a week or so in Australia so that the OIympic Games would be in daylight saving time.

I suggest that, twice a year, you simply update the time difference field in the forum. I suppose it would be possible to modify it so that you specify a date range (on a user-by-user basis) in which it should automatically do that for you.
USA #2
Really? gettimeofday is actually the function I was thinking of that returned a little 1 or a 0 depending on whether or not it was active. I didn't know it'd been de-implemented... but I suppose that yes, it makes sense, if countries just randomly change it politically. Why do we even have daylight savings anymore...? *mutter*

Anyways, date ranges sound good. And if I have to, changing it manually isn't so bad either. As I said, it was just a trivial improvement and I'm happy to live without. :)
USA #3
Same reason we did back then.

Save Candles (or, update to modern era: Save Electricity)