Defect #855

Redmine does not recognize DST or is not using the latest values

Added by Ronald Connor about 12 years ago. Updated almost 12 years ago.

Status:ClosedStart date:2008-03-14
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution: Affected version:

Description

I have Redmine on my local Linux box where the timezone is Central Time (Canada).
My time zone in Redmine is set appropriately (UTC -600) and all times were logged correctly until last Sunday when the Daylight Savings switched. Now all times are off by 1 hour.

That tells me that Redmine did not realize the change in CST to CDT.

To get around this, I changed my timezone (in Redmine) to be UTC -500 but that is not my preferred solution.
I think switching to TZInfo (found here: http://tzinfo.rubyforge.org/) would be a simple solution to the problem.


Related issues

Duplicated by Redmine - Defect #1049: Redmine doesn't account for summer time (daylight saving ... Closed 2008-04-12

History

#1 Updated by Jean-Philippe Lang about 12 years ago

As you said, installing TZInfo should solve this problem since Rails' builtin TimeZone doesn't handle DST.

ruby script/plugin install tzinfo_timezone

Can you confirm ?

#2 Updated by Ronald Connor about 12 years ago

I did not do a thorough test but appears to be working correctly now.

#3 Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from New to Closed

Thanks for the feedback.
I've added an entry about this in the FAQ.

#4 Updated by Thomas Lecavelier almost 12 years ago

Erm... It looks like redmine.org haven't this plugin. Could you install it, please?

Also available in: Atom PDF