-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 error after upgrade to 2.0 #16776
Comments
This is a regression, so we need to fix it for 2.1.0 at least, perhaps also release it as a 2.1.1. |
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues). This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here. |
This isn't just for an ugpraded site, BTW, even a vanilla 2.0 site has this issue. BTW a workaround you can use for now is to either set the time zone of the affected users to something else than the site's, or to disable |
Yes, I later realized that there was a problem with the vanilla installation too. |
I think @Piedone meant to fix this and release 2.0.1 not 2.1.1. |
Yep! |
Describe the bug
After upgrading my 1.8.3 project to 2.0, I am getting an error that I think is caused by the "OrchardCore.Users.TimeZone" module. Each user's setting is "local time zone" and the application's global time zone setting is "GMT+3".
These settings, which worked fine in 1.8.3, are causing me to get errors on the content items page and at many points where the "GetLocalTimeZoneAsync" method is called.
Orchard Core version
2.0
To Reproduce
Steps to reproduce the behavior:
Upgrade your project from 1.8.3 to 2.0.
Set your users in your project to the default timezone option.
Activate the "OrchardCore.Users.TimeZone" module.
You will see that many mechanisms, especially content items, do not work correctly.
Expected behavior
A clear and concise description of what you expected to happen.
Logs and screenshots
While timezone is active, I cannot call a SQL query with the "api/queries" endpoint, it throws an error caused by timezone.
The text was updated successfully, but these errors were encountered: