Automation Summertime/DST planned?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
Slechtvalk
Registered User
Posts: 34
Joined: Tue Jan 15, 2008 12:56 pm

Automation Summertime/DST planned?

Post by Slechtvalk » Mon Nov 28, 2011 10:14 am

Good Morning from Europe, UCT+1 :P

I red something about changing summertime/dst and i just wonder.

Isnt DST defined by Timezone + country?
I mean, is there ever a constellation where UCT+1 in germany for me gives someone other in UCT+1 germany a different time?
I guess no.

Shouldnt the Question be,

"do you have Summertime/DST where you live- yes/no"

or better:

"do you have Summertime/DST where you live-
yes, use rule: European -
yes, use rule: US/Can -
yes, use rule: Chile -
yes, use rule: China/Island/Russia -
no"

And then let PHP change the time automated?

http://en.wikipedia.org/wiki/Daylight_saving_time
European Summer Time has been observed from the last Sunday in March to the last Sunday in October
United States and Canada observe DST from the second Sunday in March to the first Sunday in November
Chile observes DST from the second Saturday in October to the second Saturday in March
Western China, Iceland, Russia and other areas skew time zones westward,
i guess with that 4 "rules" you got about 99% right, instead of punishing 100% of affected users to switch manually.

Oleg
Former Team Member
Posts: 1221
Joined: Sat Jan 30, 2010 4:42 pm
Location: NYC
Contact:

Re: Automation Summertime/DST planned?

Post by Oleg » Mon Nov 28, 2011 10:23 am

Yes: http://area51.phpbb.com/phpBB/viewtopic ... 84&t=32826

Speaking of Russia, it recently did away with some or all of DST, which is why the only way to have this work correctly is to use an (up-to-date) timezone database. US changed the dates of DST transition a year or two ago.
Participate in phpBB development: Get involved | Issue tracker | Report a bug | Development board | [url=irc://chat.freenode.net/phpbb-dev]Development IRC chat[/url]
My stuff: mindlinkgame.com

Locked

Return to “[3.0.x] Support Forum”