Daylight Savings Time

Joined: 03/02/2007
User offline. Last seen 4 years 40 weeks ago.

How do I get DST working in Drupal?

Joined: 03/02/2007
User offline. Last seen 4 years 40 weeks ago.
In that same vein, what I

In that same vein, what I really need is completely different time settings for each user, so what I really need is a way for each user to choose whether he wants DST and whether he wants 12- or 24-hour time. But I guess I could settle for just the 12- and 24-hour thing, since I can just move one hour ahead or back manually.

G&G Podcast Host
Matt Farina's picture
Joined: 06/01/2006
User offline. Last seen 21 weeks 5 days ago.
time

Drupal gets the time form the server. From there it extrapolates for other places based on UTC.

To get drupal to be configurable for time zones go to /admin/settings/date-time and enable configurable timezones. If you want to auto detect the users time zone check out http://drupal.org/project/autotimezone.

As for DST, I am not sure about that. Did a little searching and there is a patch for core at http://drupal.org/node/11077. But, there has been a lot of talk for a long time on how to do this.

I am not sure of how to implement the 12/24 hour thing with existing modules. Want to roll your own to add this?

Matt Farina
Geeks and God Co-Host
www.mattfarina.com

Matt Farina
Geeks and God Former Co-Host
www.mattfarina.com