freeipa-webui
freeipa-webui copied to clipboard
Parse DateTimes into UTC format
The dates from the DateTimeSelector
component must be parsed into UTC format to replicate the same behavior as in the current WebUI.
Notable unexpected behaviour related to datetime parsing.
When entering time exceeding 24hrs (i.e. 98:45), on time input field blur (unfocus), this value is corrected to 02:45 (98 - 4*24hrs) and the date field is advanced by 4 days (which were substracted by the time).
This is all done onBlur
, before Save
button is pressed.