Project

General

Profile

Actions

Defect #19033

closed

Filters that utilize date/time ignore user's UTC offset

Added by Zach N about 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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

Related to Redmine - Patch #20473: Respect the user's timezone when querying issuesClosed

Actions
Related to Redmine - Defect #16482: Wrong search query for timelog, when timezone not UTCNew

Actions
Is duplicate of Redmine - Patch #22320: Respect user's timezone when comparing / parsing DatesClosedJean-Philippe Lang

Actions
Actions #1

Updated by Sebastian Paluch about 8 years ago

Patch for this #20473.

Actions #2

Updated by Toshi MARUYAMA about 8 years ago

  • Related to Patch #20473: Respect the user's timezone when querying issues added
Actions #3

Updated by Scott Macpherson about 8 years ago

Duplicate of #16482?

Actions #4

Updated by Jan from Planio www.plan.io about 8 years ago

  • Is duplicate of Patch #22320: Respect user's timezone when comparing / parsing Dates added
Actions #5

Updated by Toshi MARUYAMA almost 8 years ago

  • Related to Defect #16482: Wrong search query for timelog, when timezone not UTC added
Actions #6

Updated by Jean-Philippe Lang almost 8 years ago

  • Status changed from New to Closed

Committed, thanks.

Actions

Also available in: Atom PDF