Erratic DateTimePicker field updating behavior
Hi! I'm having a strange issue with the
DateTimePicker
field. Whenever I edit the form it keeps altering my date, even when I make no changes to the form or change other fields. It keeps getting pushed towards the current time.
The fields in my form are as follows. Only the started_at
field is affected.
I've got the spatie/laravel-activitylog
package installed and it's logging changes like these. In none of these cases did I alter the started_at
value in the form when I submitted the update.
1 Reply
Think I figured this out - it's caused by
started_at
defaulting to the current time in the database.