Bug 827224 - Date created for distros/distro trees is stored in local time instead of UTC
Summary: Date created for distros/distro trees is stored in local time instead of UTC
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-31 22:33 UTC by Dan Callaghan
Modified: 2019-05-22 13:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-26 06:41:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2012-05-31 22:33:37 UTC
The beaker-import command passes (or should pass) 'tree_build_time' to labcontrollers.add_distro_tree as a UNIX timestamp in UTC. But on the server side we are parsing it as a local time, so it ends up stored in the database with the local timezone offset added/subtracted.

Comment 1 Dan Callaghan 2012-06-26 06:41:18 UTC
Beaker 0.9.0 has been released.


Note You need to log in before you can comment on or make changes to this bug.