[support] patching drupal to account for daylight savings time

Earnie Boyd earnie at users.sourceforge.net
Wed Aug 8 14:40:49 UTC 2007


Quoting Sarah Adams <mr.sanders at geekjock.ca>:

> (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.
>

Ugh, DST, http://for-my-kids.com/cms/node/194

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

Was the patch for _your_ Drupal _version_?

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

Development servers are for development, you would deploy to production 
the code you have in development which would already have the patch 
applied.

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

Probably the patch was for a different Drupal version than you are executing.

Earnie -- http://for-my-kids.com/


More information about the support mailing list