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
Seems this bug is caused by the underlying library, datetime_picker_formfield, which when submitting it tries to parse the string in the TextField back to a DateTime. But since your DateFormat lacks the year field, it is substituted by 1970.
This issue has already been reported in the library.
I'll try to do a workaround for the benefit of our library.
Bug
When using the callback onChanged with FormBuilderDateTimePicker it returns dates from 1970, rather than the date the user selected!
Steps to reproduce
The text was updated successfully, but these errors were encountered: