Bug 827224 - Date created for distros/distro trees is stored in local time instead of UTC
Date created for distros/distro trees is stored in local time instead of UTC
Status: CLOSED CURRENTRELEASE
Product: Beaker
Classification: Community
Component: scheduler (Show other bugs)
0.9
Unspecified Unspecified
unspecified Severity unspecified (vote)
: 0.9.0
: ---
Assigned To: Dan Callaghan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-31 18:33 EDT by Dan Callaghan
Modified: 2012-06-26 02:41 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-26 02:41:18 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dan Callaghan 2012-05-31 18:33:37 EDT
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 02:41:18 EDT
Beaker 0.9.0 has been released.

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