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
Hi, I am using timestamp. The field is correctly bound to the database as it shows the correct date from the db. But when I modify and save the time and date, no change occurs.
I have added following line in my model for dates. protected $dates = ['published_at', 'unpublished_at'];
Hi, I am using timestamp. The field is correctly bound to the database as it shows the correct date from the db. But when I modify and save the time and date, no change occurs.
I have added following line in my model for dates.
protected $dates = ['published_at', 'unpublished_at'];
and these two lines for rendering the fields
FormItem::timestamp('published_at', 'Publish at');
FormItem::timestamp('unpublished_at', 'Unpublish at');
In db, the type of published_at and unpublished_at is timestamp.
Can you guide me, why the fields are not modifying?
The text was updated successfully, but these errors were encountered: