Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Forum ➜ Suggestions ➜ Trivial Improvement: Daylight Savings

Trivial Improvement: Daylight Savings

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by David Haley   USA  (3,881 posts)  Bio
Date Tue 30 Sep 2003 07:16 AM (UTC)
Message
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.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 30 Sep 2003 08:14 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #2 on Tue 30 Sep 2003 05:03 PM (UTC)
Message
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. :)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #3 on Tue 30 Sep 2003 09:02 PM (UTC)
Message
Same reason we did back then.

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

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,708 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.