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.
LHB
Registered User
Posts: 5
Joined: Sun Feb 17, 2008 10:36 pm

Re: Automatic Daylight Savings Time (DST)

Post by LHB »

Thank you – It’s working.
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18539
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón

Automatic Daylight Savings Time (DST)

Post by DavidIQ »

MOD Updated to version 2.0.2
See first post for Download Link
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
jamiet757
Registered User
Posts: 54
Joined: Sat Aug 01, 2009 2:03 am

Re: Automatic Daylight Savings Time (DST)

Post by jamiet757 »

What are the changes for the update?
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 »

jamiet757 wrote:What are the changes for the update?
Look them up here!
jamiet757
Registered User
Posts: 54
Joined: Sat Aug 01, 2009 2:03 am

Re: Automatic Daylight Savings Time (DST)

Post by jamiet757 »

Great thanks, I tried looking through the thread, but looking through 12 pages is a hassle. I think there needs to be a more standardized way of seeing the changes for a mod, perhaps all authors should update the first post with the new changes when they are approved, or something like that. :D
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 »

jamiet757 wrote:...or something like that. :D
There is a version history in the install.xml of this mod.
User avatar
Neuropass
Registered User
Posts: 1163
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: Automatic Daylight Savings Time (DST)

Post by Neuropass »

i have a problem on my board and i would like to fix it before installing the mod.

My board time is always wrong. it's 8 hours behind my local time. i don't understand why. I checked my time in the cPanel of my server and it's correct. why is it wrong on my board? how do i fix it? how can i fix it to be ok with every users that visits the board? :oops:
User avatar
K2
Registered User
Posts: 56
Joined: Fri Jan 03, 2003 5:30 am

Re: Automatic Daylight Savings Time (DST)

Post by K2 »

Nice mod MartectX!

Noticed a minor bug however after installing on my board. In the /includes/automatic_dts.php file around line 187, you have this:

Code: Select all

'-6.00'		=> 'America/Detroit',		// [UTC - 6] Central Standard Time
'-5.00'		=> 'America/Chicago',		// [UTC - 5] Eastern Standard Time
That is incorrect. Ya got 'em flipped - Detroit is UTC -5, Chicago is UTC -6. I was wondering why after installing this mod it said my area was incorrect and my time set back one hour ;)

For your next version, might I suggest Dallas for UTC -6 and New York for UTC -5, those are a bit easier to visualise I think when ppl are trying to figure out their area.

Overall, great job!
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 »

K2 wrote:

Code: Select all

'-6.00'		=> 'America/Detroit',		// [UTC - 6] Central Standard Time
'-5.00'		=> 'America/Chicago',		// [UTC - 5] Eastern Standard Time
That is incorrect. Ya got 'em flipped - Detroit is UTC -5, Chicago is UTC -6. I was wondering why after installing this mod it said my area was incorrect and my time set back one hour ;)
Whoops, thanks for pointing that out!
K2 wrote:For your next version, might I suggest Dallas for UTC -6 and New York for UTC -5, those are a bit easier to visualise I think when ppl are trying to figure out their area.
This table is only for the conversion of old time zones to the new ones. In the list users will see in their UCP all time zones are available.
K2 wrote:Overall, great job!
Thank you very much! 8-)
Memphis007
Registered User
Posts: 3
Joined: Mon Jan 25, 2010 12:52 pm

Re: Automatic Daylight Savings Time (DST)

Post by Memphis007 »

Hi,

This mod seems to have a problem to work with gym sitemap, when I want to display the rss page it gaves me the following error :

"<b>Fatal error</b>: Call to undefined function automatic_dst_cache() in ..."

The problem seems to be related to the xml template use to render the rss page. When I disable the xml template, everything's fine.

Anyone have an idea to solve this ?

EDIT: I solved my problem, just have to put in gym_style.php :

Code: Select all

require($phpbb_root_path . 'includes/automatic_dst.' . $phpEx);
User avatar
dontcoz
Registered User
Posts: 507
Joined: Mon Sep 29, 2008 9:49 pm
Location: Vancouver, BC

Re: Automatic Daylight Savings Time (DST)

Post by dontcoz »

MartectX,

originally i had automatic_dst_1.0.5 installed on my at the time 3.0.2 board. Now i've upgraded the board to 3.0.6. and wanted to upgrade to the latest version of this mod too and am wandering if i have to do all the updates that happened in btwn or go straight to the latest mod version. thanks.

also (that's more of a general question) is there a value in adding modx files to your forum files system. also is there a value in adding .xml past updates files to your forum files system, other than to keep them somewhere so you can check what the changes were.
User avatar
dontcoz
Registered User
Posts: 507
Joined: Mon Sep 29, 2008 9:49 pm
Location: Vancouver, BC

Re: Automatic Daylight Savings Time (DST)

Post by dontcoz »

Actually never mind the first question, I've uninstalled the old mod the best i could as some of its code got lost during my board updates and the new mod works beautifully (thanks for a great mod!). Still interested in the second question (about the modx etc) if you don't mind answering. Thanks.
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 »

Memphis007 wrote:EDIT: I solved my problem, just have to put in gym_style.php :

Code: Select all

require($phpbb_root_path . 'includes/automatic_dst.' . $phpEx);
Indeed, and next version will make this much more comfortable (read: Will remove this problem altogether)!
dontcoz wrote:I've uninstalled the old mod the best i could as some of its code got lost during my board updates and the new mod works beautifully (thanks for a great mod!).
Well done, I'd have recommended to do it that way anyway.
dontcoz wrote:also (that's more of a general question) is there a value in adding modx files to your forum files system. also is there a value in adding .xml past updates files to your forum files system, other than to keep them somewhere so you can check what the changes were.
I'd store the modification files somewhere on your machine or on your server for later reference (for example when you needed to look up how to uninstall Auto DST 1.0.5). Other than that they do not serve any purpose.
User avatar
dontcoz
Registered User
Posts: 507
Joined: Mon Sep 29, 2008 9:49 pm
Location: Vancouver, BC

Re: Automatic Daylight Savings Time (DST)

Post by dontcoz »

thank you.
seohands
Registered User
Posts: 1
Joined: Sun Feb 07, 2010 8:43 pm

Re: Automatic Daylight Savings Time (DST)

Post by seohands »

Hi.
Afrer install mod, i have errors:

[phpBB Debug] PHP Notice: in file /includes/automatic_dst.php on line 112: putenv(): Safe Mode warning: Cannot set environment variable 'TZ' - it's not in the allowed list
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4198: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4200: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4201: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4202: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)

Checked everything several times - everything is normal, the error on my part no.
Help solve the problem, please.
Ver. 3.0.6

Solution: safe_mode OFF and all errors disappeared. 8-)

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