Automatic Daylight Savings Time (DST)

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29354
Joined: Sat Aug 16, 2003 7:36 am

Automatic Daylight Savings Time (DST)

Post by Extensions Robot »

Modification name: Automatic Daylight Savings Time (DST)
Author: Danielx64
Modification description: Introduces a city-based time zone system and thus allows for automatic Daylight Savings Time (DST) to be managed for each user separately. It also automatically detects DST periods and adjusts corresponding dates' ouputs accordingly.
Modification version: 2.0.5
Tested on phpBB version: 3.0.12

Download file: automatic_dst_2_0_5.zip
File size: 146.97 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extension Customisations Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Sep 19, 2022 7:33 pm, edited 21 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34459
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run

Automatic Daylight Savings Time (DST)

Post by A_Jelly_Doughnut »

Modification validated/released

Notes:
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish
User avatar
MartectX
Registered User
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Automatic Daylight Savings Time (DST)

Post by MartectX »

IMPORTANT: Above description is outdated.

The following correctly describes this modification's behaviour:

Introduces a city-based time zone system and thus allows for automatic Daylight Savings Time (DST) to be managed for each user separately. It also automatically detects DST periods and adjusts corresponding dates' ouputs accordingly.


w00t: phpBBweekly elected this Mod of The Week in episode 67 (begin listening at 78:30). Thanks! 8-)
Last edited by MartectX on Thu Dec 31, 2009 3:02 pm, edited 18 times in total.
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: Automatic Daylight Savings Time (DST)

Post by IPB_Refugee »

@MartectX: Congrats for getting your MOD validated! :)
A_Jelly_Doughnut wrote:This MOD employs the date('I') method of detecting Daylight Saving Time or Summer Time, so it is dependent on the web server administrator to be correct
What exactly does that mean? Let´s say I have a board for Austrian and German visitors but the server is located in Michigan, US.

Have a nice weekend!
Wolfgang
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean

Re: Automatic Daylight Savings Time (DST)

Post by Erik Frèrejean »

Interesting mod Image
IPB_Refugee wrote:
A_Jelly_Doughnut wrote:This MOD employs the date('I') method of detecting Daylight Saving Time or Summer Time, so it is dependent on the web server administrator to be correct
What exactly does that mean? Let´s say I have a board for Austrian and German visitors but the server is located in Michigan, US.
Than it uses the time in Michigan because the date() function uses the data from the webserver. So when DST gets enabled there, the times are updated.
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: Automatic Daylight Savings Time (DST)

Post by IPB_Refugee »

Thanks for the explanation, Erik!

Unfortunately I can't use the MOD in this case because the USA have a different DST than we in middle Europe. It's good that we pointed that out!

Until there is another solution to the DST problem, I can suggest this MOD: ACP Overwrite Module
But when the server is located near the users of your board, MartectX's MOD is certainly even more comfortable.

Regards
Wolfgang
User avatar
mara7
Registered User
Posts: 139
Joined: Wed May 11, 2005 5:59 pm

Re: Automatic Daylight Savings Time (DST)

Post by mara7 »

Erik Frèrejean wrote:Interesting mod Image
IPB_Refugee wrote:
A_Jelly_Doughnut wrote:This MOD employs the date('I') method of detecting Daylight Saving Time or Summer Time, so it is dependent on the web server administrator to be correct
What exactly does that mean? Let´s say I have a board for Austrian and German visitors but the server is located in Michigan, US.
Than it uses the time in Michigan because the date() function uses the data from the webserver. So when DST gets enabled there, the times are updated.
Thank you for clarification :roll:
User avatar
MartectX
Registered User
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Automatic Daylight Savings Time (DST)

Post by MartectX »

IPB_Refugee wrote:But when the server is located near the users of your board, MartectX's MOD is certainly even more comfortable.
I'm hosted on a server in Germany and it works without a hitch (German users only, mind you). At least it's an improvement for fellow board administrators with similar configurations. :geek:
User avatar
mcdanielnc89
Registered User
Posts: 703
Joined: Tue Feb 06, 2007 10:49 pm

Re: Automatic Daylight Savings Time (DST)

Post by mcdanielnc89 »

Awesome! I was waiting for this release!!!!
fred2028
Registered User
Posts: 123
Joined: Mon Aug 22, 2005 11:49 pm
Location: Canada

Re: Automatic Daylight Savings Time (DST)

Post by fred2028 »

Excellent, I think it works well!
How do we run that query at the end of the install.xml?
User avatar
MartectX
Registered User
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Automatic Daylight Savings Time (DST)

Post by MartectX »

fred2028 wrote:Excellent, I think it works well!
How do we run that query at the end of the install.xml?
Thank you for your feedback. Here's a thread explaining SQL commands: http://www.phpbb.com/community/viewtopi ... 0&t=588697
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: Automatic Daylight Savings Time (DST)

Post by Lumpy Burgertushie »

am I missing something here?

phpbb3 already has this built in doesn't it?

I know mine does.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: Automatic Daylight Savings Time (DST)

Post by IPB_Refugee »

And where? My version of phpBB-3 has not buildt it in. ;) The german version of phpBB-2 had it, that's true.

Regards
Wolfgang
User avatar
MartectX
Registered User
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Automatic Daylight Savings Time (DST)

Post by MartectX »

Lumpy Burgertushie wrote:phpbb3 already has this built in doesn't it?
phpBB3 only supports manual selection of DST, not automatic functions that do that for the user.
ReDaLeRt_PT
Registered User
Posts: 9
Joined: Mon Mar 24, 2008 3:05 am

Re: Automatic Daylight Savings Time (DST)

Post by ReDaLeRt_PT »

This MOD works correctly with phpBB 3.0.2?


Thanks.


[[]]

Return to “[3.0.x] MOD Database Releases”