-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The saved date and the edit page date do not match. #5855
Comments
Firstly, you need set to timezone on laravel. You saw diffrent times because you didnt set timezon.
|
i added this, but can not work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
we saved date it check the edit page that is not match.
Description:
$grid->column('calling_reminder', __('Calling Reminder'))->display(function ($date) {
return date('d-m-Y', strtotime($date));
}); this is the code for grid.. this code get the date value is correct.
$form->date('calling_reminder', __('Calling Reminder'))->format('DD-MM-YYYY');
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: