-
Notifications
You must be signed in to change notification settings - Fork 91
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
Daylight savings (CET vs CEST?) #65
Comments
Hi @avonian Thank you for your kind comments. It's nice to know that people value the package and use it in the wild! I can only assume that this is some issue with the server time. Can you do this and see what results we get?
|
Hi james, thanks so much for the reply. Here's what I've got:
And the system date is set to |
Howdy! Ok, so I've no clue! lol. What is the timezone value set on the user? Because the the package just takes that and converts the event date to that timezone. laravel-timezone/src/Timezone.php Lines 21 to 23 in c33628d
So I'm not technically sure who/what decides when it's daylight saving or not. I assumed the system/php had some magic to work this out so I wouldn't have though this should be a problem. Hummmmm |
Hi there,
First off wonderful package thank you for your awesome contribution :)
I'm confused as to why @displayDate($event->event_date) is returning a time in CEST right now for a user in 'Europe/Paris' when we're not yet in CEST.
The date time on the environment is accurately showing March 16 2021, so not an env issue.
Is something that needs to be toggled manually?
The text was updated successfully, but these errors were encountered: