You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dmtrKovalenko
Doesn't seem to be solved to me.
the error may lie on line 199 in DateTextField.jsx
if (!error && utils.format(newValue, 'LLLL') !== utils.format(oldValue, 'LLLL')) {
Where LLLL formats the date into 'Monday, March 26, 2018 9:31 AM' where the seconds (and millis) are missing.
Something like: 'YYYY-MM-DDTHH:mm:ss.SSSZ' would be the most accurate. But I don't think that the Z would be needed to compare the timezones of the input.
Hello again, thank you for this project.
Environment
Steps to reproduce
Expected behavior
Changing the Seconds should also fire the event, with the new time; maybe parsed by the format.
Actual behavior
Chaning the seconds does not fire the event. So the old value is taken when opening the picker.
Live example
https://codesandbox.io/s/7m97n5wm2j
The text was updated successfully, but these errors were encountered: