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): How reproducible: every time Steps to Reproduce: 1. set future retirement date for service/vm 2. 3. Actual results: it'll retire immediately (for anyone who's behind UTC time) Expected results: should save in correct zone Additional info:
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' ... > vm.retires_on => 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? Thanks.
Works on master. Sorry, Milan! Thanks for looking at this, though.