Project

General

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

Also available in: Atom PDF