Defect #19033
closedFilters that utilize date/time ignore user's UTC offset
0%
Description
Description:¶
Using any filter that uses date/time, such as "Today," "Yesterday," is Date, etc. ignores the UTC offset of the user.
Attached is a screenshot. In the screenshot is an issue with the date, 2/3/2015 @ 1807 CST. Converting this date to UTC would make it 2/4/2015 0007 UTC.
The server is set to UTC time. The Redmine config is using "local" for timezone. The user in the example has their UTC offset set to -6 or Central Standard Time.
Expected:¶
I expect any filter using date/time to take into account the time offset the user has provided within their account profile.
Instillation Info:¶
Environment:
Redmine version 2.5.2.stable
Ruby version 1.9.3-p547 (2014-05-14) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Mercurial 2.1
Cvs 1.12.13
Git 1.9.0
Filesystem
Redmine plugins:
redmine_time_tracker 0.5
Files
Related issues