Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.

Wrong date #15

Closed
num3r06 opened this issue Oct 8, 2019 · 3 comments
Closed

Wrong date #15

num3r06 opened this issue Oct 8, 2019 · 3 comments
Labels
invalid This doesn't seem right

Comments

@num3r06
Copy link

num3r06 commented Oct 8, 2019

Hi, great job
but if i select a date from datepicker when save resource the saved date it's a day before the selected day.
The locale it's 'it'

@techouse
Copy link
Owner

techouse commented Oct 8, 2019

Sounds to me like you have a timezone issue. Check your config/app.php at line 70. Is it set to 'timezone' => 'Europe/Rome' or is it the default UTC? If so that would explain your error.

@num3r06
Copy link
Author

num3r06 commented Oct 9, 2019

Yes!
I fix timezone and all work fine
Thx

@num3r06 num3r06 closed this as completed Oct 9, 2019
@techouse techouse added the invalid This doesn't seem right label Oct 29, 2019
@fpcimmino
Copy link

Hi, don't work for me. I forgot something?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants