freeipa / freeipa-webui

FreeIPA Web UI
GNU General Public License v3.0
23 stars 11 forks source link

Parse DateTimes into UTC format #253

Open carma12 opened 8 months ago

carma12 commented 8 months ago

The dates from the DateTimeSelector component must be parsed into UTC format to replicate the same behavior as in the current WebUI.

miskopo commented 4 months ago

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.

Kooha-2024-05-15-14-49-08