Revisions
-
benjamin-smith revised this gist
Nov 5, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ var $dateTime = new DateTime(); $dateTime->setTimezone(new DateTimeZone('America/New_York')); $dateTime->setTimestamp(time()); $isDst = (bool)$dateTime->format('I') ? "y" : "n"; $conf['daylight_savings'] = $isDst; -
1stevengrant created this gist
Oct 28, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ var $dateTime = new DateTime(); $dateTime->setTimezone(new DateTimeZone('America/New_york')); $dateTime->setTimestamp(time()); $isDst = (bool)$dateTime->format('I') ? "y" : "n"; $conf['daylight_savings'] = $isDst;