What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » Enable DST Correction:

Enable DST Correction:
Author: Message:
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
42 / Male / Flag
Joined: Jan 2003
O.P. Enable DST Correction:
I've just had to change the dst setting in user cp. Couldn't it be set automaticly? I think coding that in PHP is easy (for WDZ) and maybe that would be one sql query less (i dunno)...

btw, the dst should be enabled from the 1:00 am (GMT) of sunday of last weekend of march to 1:00 am (GMT) of sunday of last weekend of october.
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
03-29-2004 01:10 PM
Profile PM Find Quote Report
Johnny_Mac
Elite Member
*****

Avatar

Posts: 2556
Reputation: 20
38 / Male / Flag
Joined: Apr 2002
RE: Enable DST Correction:
quote:
Originally posted by Choli
btw, the dst should be enabled from the 1:00 am (GMT) of sunday of last weekend of march to 1:00 am (GMT) of sunday of last weekend of october.
Surely this depends on where you are in the world? In the USA its the first sunday of April, not the last in March. A lot of work for a simple check of a box twice a year. :rolleyes:
03-29-2004 02:03 PM
Profile PM Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
42 / Male / Flag
Joined: Jan 2003
O.P. RE: Enable DST Correction:
quote:
Originally posted by Johnny_Mac
Surely this depends on where you are in the world? In the USA its the first sunday of April, not the last in March
do people in usa use dst? I thought dst was only used in europe :rolleyes: well, In that case why is the change day there other day than in europe?
quote:
Originally posted by Johnny_Mac
A lot of work for a simple check of a box twice a year.
|-) you have to go to user cp, edit options, scroll down, select the option and click update.. too much work.... j/k :P
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
03-29-2004 02:18 PM
Profile PM Find Quote Report
Johnny_Mac
Elite Member
*****

Avatar

Posts: 2556
Reputation: 20
38 / Male / Flag
Joined: Apr 2002
RE: Enable DST Correction:
Me and WDZ discussed this the other day in the s/b. :P

Its used in Canada and USA, and Europe mainly. However I do believe its used in other countries... Possibly NZ?

I have no idea why they're different dates. Maybe a snoop about this stie will help. :P

http://wwp.greenwichmeantime.com/home.htm
03-29-2004 02:21 PM
Profile PM Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Enable DST Correction:
DST is different in many countries... I think it would actually be quite difficult to code auto-correction, though I've never tried... :p

BTW, I've never seen it done on other forums either... :p
03-29-2004 07:50 PM
Profile PM Web Find Quote Report
Tochjo
forum super mod
******

Avatar

Posts: 4207
Reputation: 78
36 / Male / Flag
Joined: Sep 2003
RE: Enable DST Correction:
quote:
Originally posted by WDZ
BTW, I've never seen it done on other forums either... :p
I believe vBulletinBoard can automatically adjust it :o
03-29-2004 09:29 PM
Profile PM Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
42 / Male / Flag
Joined: Jan 2003
O.P. RE: Enable DST Correction:
quote:
Originally posted by WDZ
DST is different in many countries... I think it would actually be quite difficult to code auto-correction, though I've never tried...
i understand you
quote:
Originally posted by WDZ
BTW, I've never seen it done on other forums either...
one more reason to add it :P : MyBB, the first forums with auto-dst setting :lol: j/k
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
03-29-2004 09:30 PM
Profile PM Find Quote Report
Chrono
forum admin
*******

Avatar
;o

Posts: 6022
Reputation: 116
39 / Male / Flag
Joined: Apr 2002
Status: Away
RE: Enable DST Correction:
we have dst here too :P
Maybe if we had the possibility to choose when the time will change on the forums..
cause i had to change the time last week :P
[Image: wdz_discrate.png]
03-29-2004 09:39 PM
Profile PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Enable DST Correction:
quote:
Originally posted by Tochjo
I believe vBulletinBoard can automatically adjust it :o
What version? I'm pretty sure 2.3.x can't...

Edit: Looks like vB 3 has the feature... it uses Javascript... :lol:

http://www.vbulletin.com/forum/archive/index.php/t-72234

I guess that makes sense, because it's the only way to get the the user's time offset automatically...

code:
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}

:dodgy:

This post was edited on 03-30-2004 at 05:05 AM by WDZ.
03-29-2004 09:50 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On