Project

General

Custom queries

Profile

Actions

Bug #6721

closed

Times are stored in incorrect time zone

Added by Justin Sherrill almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

For some reason started_at and ended_at times are not stored correctly. If i start a task at:

Tue, 22 Jul 2014 10:39:26 -04:00 (EST) and then run:

ForemanTasks::Task.order(:started_at).last.started_at

It will display:

Tue, 22 Jul 2014 10:39:26 UTC +00:00

I believe the time is being stored in localtime without the timezone and then read back out as UTC. You can see this on the tasks page as well. For some reason the dynflow console shows the correct time, i'm not sure why.

Actions #1

Updated by Ivan Necas almost 11 years ago

  • Assignee set to Adam Ruzicka
Actions #2

Updated by Justin Sherrill almost 11 years ago

  • Bugzilla link set to 1128262
Actions #3

Updated by Ivan Necas almost 11 years ago

  • Assignee changed from Adam Ruzicka to Ivan Necas
Actions #4

Updated by Ivan Necas almost 11 years ago

The fix proposed in https://github.com/Dynflow/dynflow/pull/126, all seems to work nice with this in.

Actions #5

Updated by Ivan Necas over 10 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF