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: As per this notification, 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.

Automatic Daylight Savings Time (DST)

Postby MOD Robot » Fri Jun 20, 2008 1:08 am

Modification name: Automatic Daylight Savings Time (DST)
Author: MartectX
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.2
Tested on phpBB version: See below

Download file: automatic_dst_2.zip
File size: 90331 Bytes

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 Modifications Team may not be able to provide support.

-->Modification support<--
Last edited by MOD Robot on Wed Jun 09, 2010 4:55 pm, edited 9 times in total.
(this is a non-active account manager for the phpBB MOD Team)
MOD Robot
MOD Queue Bot
MOD Queue Bot
 
Posts: 22995
Joined: Sat Aug 16, 2003 7:36 am

Automatic Daylight Savings Time (DST)

Postby A_Jelly_Doughnut » Fri Jun 20, 2008 1:08 am

Modification validated/released

Notes:
A_Jelly_Doughnut - phpBB Development Team member - Future Discussion at Area51
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish
User avatar
A_Jelly_Doughnut
Development Team Member
Development Team Member
 
Posts: 33754
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run

Automatic Daylight Savings Time (DST)

Postby MartectX » Fri Jun 20, 2008 1:08 am

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
MartectX
Registered User
 
Posts: 1326
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Automatic Daylight Savings Time (DST)

Postby IPB_Refugee » Fri Jun 20, 2008 6:04 am

@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
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)

Postby Erik Frèrejean » Fri Jun 20, 2008 9:49 am

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 developer | Support Request Template | Knowledge Base | phpBB 3.0.x documentation

#2) Think before you type.
Always backup your database before running any script that might alter it!
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
User avatar
Erik Frèrejean
Support Team Member
Support Team Member
 
Posts: 6970
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)

Postby IPB_Refugee » Fri Jun 20, 2008 5:06 pm

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
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)

Postby mara7 » Fri Jun 20, 2008 7:57 pm

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
mara7
Registered User
 
Posts: 140
Joined: Wed May 11, 2005 5:59 pm
Location: Saudi Arabia

Re: Automatic Daylight Savings Time (DST)

Postby MartectX » Fri Jun 20, 2008 11:26 pm

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
MartectX
Registered User
 
Posts: 1326
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Automatic Daylight Savings Time (DST)

Postby mcdanielnc89 » Sat Jun 21, 2008 11:26 pm

Awesome! I was waiting for this release!!!!
User avatar
mcdanielnc89
Registered User
 
Posts: 703
Joined: Tue Feb 06, 2007 10:49 pm
Location: Missouri

Re: Automatic Daylight Savings Time (DST)

Postby fred2028 » Thu Jun 26, 2008 6:45 pm

Excellent, I think it works well!
How do we run that query at the end of the install.xml?
User avatar
fred2028
Registered User
 
Posts: 123
Joined: Mon Aug 22, 2005 11:49 pm
Location: Canada

Re: Automatic Daylight Savings Time (DST)

Postby MartectX » Fri Jun 27, 2008 6:41 pm

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: viewtopic.php?f=70&t=588697
User avatar
MartectX
Registered User
 
Posts: 1326
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Automatic Daylight Savings Time (DST)

Postby Lumpy Burgertushie » Sun Jun 29, 2008 2:50 pm

am I missing something here?

phpbb3 already has this built in doesn't it?

I know mine does.

robert
Private support on a donation basis. PM me.
Image
NEW phpBB2 SUPPORT SITE
User avatar
Lumpy Burgertushie
Registered User
 
Posts: 37976
Joined: Mon May 02, 2005 3:11 am

Re: Automatic Daylight Savings Time (DST)

Postby IPB_Refugee » Sun Jun 29, 2008 3:25 pm

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
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)

Postby MartectX » Sun Jun 29, 2008 10:42 pm

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.
User avatar
MartectX
Registered User
 
Posts: 1326
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Automatic Daylight Savings Time (DST)

Postby ReDaLeRt_PT » Sat Jul 12, 2008 3:36 pm

This MOD works correctly with phpBB 3.0.2?


Thanks.


[[]]
ReDaLeRt_PT
Registered User
 
Posts: 8
Joined: Mon Mar 24, 2008 3:05 am

Next

Return to [3.0.x] MOD Database Releases

Who is online

Users browsing this forum: Ask Jeeves [Bot] and 16 guests