Description of problem:
When doing `Set Retirement date` for a VM, the date-time box in UI lets you select time in your system's timezone, like its 6pm here, so won't won't show me time before of 6, but when saving it, it actually saves 18 hours UTC, which is 12.30am next day here.
(With that logic if you set time from negative UTC timezone, the time would be set for the time that has already passed on UTC?)
Version-Release number of selected component (if applicable):
Version 18.104.22.168.20180320210136_355c506, Master
Steps to Reproduce:
1. Go to set retirement date for a VM
2. Select a time of today, it will show you time in your timezone
3. save it, and will save in UTC (or server's timezone)
Takes time from browser's timezone, but sets it to UTC
Should convert timezone properly, or show you timezone info while setting the retirement date
Dan, can you please rule on how to proceed with this (send
the bz over to backend people, etc.)
New commit detected on ManageIQ/manageiq-ui-classic/master:
Author: Milan Zazrivec <email@example.com>
AuthorDate: Mon Apr 23 09:59:16 2018 -0400
Commit: Milan Zazrivec <firstname.lastname@example.org>
CommitDate: Mon Apr 23 09:59:16 2018 -0400
Display browser local time in retirement form
Nonetheless, the retirement time will still be saved as UTC.
2 files changed, 3 insertions(+), 3 deletions(-)
Verified on 22.214.171.124.