ElementDateEditor
cyclically transforms non UTC dates to UTC on every onChange()
#394
Labels
question
Further information is requested
I believe there is an issue with the onChange() code in
ElementDateEditor
. If the browser timezone is not UTC, it will repeatedly change the timezone to UTC if you click the element.Expected:
In the "Date and Time" element, after selecting the date field, deselecting it and then selecting it again, it will not change.
Observed:
In the "Date and Time" element, after selecting the date field, deselecting it and then selecting it again, it will transform the timezone to UTC once more.
Steps to reproduce:
onChange()
Fix:
Add timezone to the input date before calling
toISOString()
The text was updated successfully, but these errors were encountered: