Skip to content
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

timezone #10

Open
Pixinside opened this issue Nov 29, 2021 · 1 comment
Open

timezone #10

Pixinside opened this issue Nov 29, 2021 · 1 comment

Comments

@Pixinside
Copy link

Hello,

I have an issue with this {{ openingHours.location.openingHours.isOpen() ? "We are open!" : "We will open at " ~ openingHours.location.openingHours.nextOpen(date('now')).format('D at H:i') }}.
I have an hour difference with the opening hours.
I'm not sure if it's with the plugin or October itself that I have the issue. My October config timezone is set up to "UTC" has advised. But if I change it to "Europe/Amsterdam" it works fine. But I read it's not the best way.
Any clues?

thanks!
jd

@tobias-kuendig
Copy link
Member

Usually, if there is a timezone problem, this is because of the timezone of your backend user is wrong. Go to the backend settings of the user and make sure it has your local timezone set. You should then see the wrong values in the backend where you can fix them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants