Description of problem: When doing retirement in future and setting date and time, UI sets all times to UTC.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. set future retirement date for service/vm
it'll retire immediately (for anyone who's behind UTC time)
should save in correct zone
Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.
If it's something like a tracker bug where it doesn't matter, please set the severity to Low.
1. I set my laptop machine to east coast time (TZ=America/New_York)
2. I set retirement time for a vm to February 1-st, 6:10 AM (still east coast time)
3. In rails console:
> vm = VmOrTemplate.find_by :name => 'amaya-at'
=> Fri, 01 Feb 2019 11:10:00 UTC +00:00
Which I'd say is perfectly correct.
Drew, do you still see this problem on our end in current master? Or is perhaps my
understanding of the described problem incorrect?
Works on master. Sorry, Milan! Thanks for looking at this, though.