Add more obvious error-validating effect to inputs
Modify some PHP code to make sure datetimes are saved in UTC
Carbon::createFromTimeString seemed to be removing the timestamp part of the formatted time string and not being saved in UTC to DB
Reviewers should focus on:datetime-local support has been fully supported by major browsers for around ~1.5 years. When the last PR was made for this (#48), support seemed to be very early in both Safari & Firefox.
Fixes #27
Changes proposed in this pull request:
flatpickr
withdatetime-local
Carbon::createFromTimeString
seemed to be removing the timestamp part of the formatted time string and not being saved in UTC to DBReviewers should focus on:
datetime-local
support has been fully supported by major browsers for around ~1.5 years. When the last PR was made for this (#48), support seemed to be very early in both Safari & Firefox.BrowserStack iOS on MDN
![image](https://github.com/FriendsOfFlarum/polls/assets/6401250/5aa9aca5-278f-4e69-a048-8623346ba690)
Screenshot
Confirmed
composer test
).