Closed mikejpeters closed 1 month ago
Ah, I actually didn't think we'd need to migrate those values, as that hasn't been an issue on my end for forms with a default date prior to 2.1.21.
Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-4 as 2.1.21"
.
Fixed in 2.1.24
Describe the bug
We have a Formie form with a date field that has a specific default value.
After upgrading to Formie 2.1.21 the form fails to render with the error:
IntlException: datefmt_create: No such time zone
(see stack trace below).Re-saving the form fixes the issues, and the issue doesn't occur for date fields created after the upgrade. So I think this is just an issue with data not being migrated to the newly expected format.
Steps to reproduce
Form settings
Craft CMS version
4.11.0
Plugin version
2.1.21
Multi-site?
No
Additional context
I'm pretty sure this is caused by https://github.com/verbb/formie/commit/048cb9f865700a5e70003b3370707afc38cd01aa