[support] patching drupal to account for daylight savings time
Sarah Adams
mr.sanders at geekjock.ca
Tue Aug 7 19:36:26 UTC 2007
(I posted this question to the "Post installation" forum as well, not
sure if I'm more likely to get a response there or here.)
I am a recent convert to Drupal, and have just finished installing and
configuring it for a site I'm developing. The only problem I had during
the config process was setting the timezone. The site is in the Atlantic
timezone (-0400), but when I choose this option currently, the time is
one hour behind. I could set the timezone to -0500, but that wouldn't be
correct, and I'd have to remember to change it twice a year.
Anyway, I found this patch http://drupal.org/node/11077 which seems to
do what I need, but I can't get the patch applied. So I have two questions:
1) Right now I'm working on this site on my development server, so I
have shell access and can apply the patch. What happens if I move the
site to the client's host and don't have shell access in order to apply
the patch?
2) The patch itself did not work (see below) - any idea why? I'm
guessing maybe there is a more up-to-date version or something, but I
have no idea where to look for it.
can't find file to patch at input line 88
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: modules/node.module
|===================================================================
|RCS file: /cvs/drupal/drupal/modules/node.module,v
|retrieving revision 1.403
|diff -u -F^f -r1.403 node.module
|--- modules/node.module 21 Sep 2004 18:43:54 -0000 1.403
|+++ modules/node.module 26 Sep 2004 03:00:19 -0000
--------------------------
can't find file to patch at input line 112
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: modules/system.module
|===================================================================
|RCS file: /cvs/drupal/drupal/modules/system.module,v
|retrieving revision 1.178
|diff -u -F^f -r1.178 system.module
|--- modules/system.module 22 Sep 2004 17:50:55 -0000 1.178
|+++ modules/system.module 26 Sep 2004 03:00:19 -0000
--------------------------
TIA for any clues as to what I've done wrong!
Sarah
--
sarah adams
web developer & programmer
portfolio: http://sarah.designshift.com
blog: http://hardedge.ca
More information about the support
mailing list