verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
96 stars 72 forks source link

Time fields displayed in the submission list are off #2126

Closed andypullen closed 1 week ago

andypullen commented 2 weeks ago

Describe the bug

When displaying date fields with the time in a form's submission list, the time is incorrect. It looks to be caused by not accounting for the timezone.

Steps to reproduce

  1. Create a form with a Date/Time field that displays only the time
  2. Make a submission of the form
  3. View the Submission list page and display the Time field

Form settings

Craft CMS version

5.4.10 Pro

Plugin version

3.0.9

Multi-site?

Yes

Additional context

No response

engram-design commented 2 weeks ago

Looks like Craft/Yii's localisation handling for dates is messing these up. Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-5 as 3.0.9".

engram-design commented 1 week ago

Fixed in 3.0.10