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
DateTimeTrigger not taking timezones into account #3059
Comments
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/datetimetrigger-and-timezones/138014/4 |
@m4rcu5 can you test this jar please: https://github.com/jimtng/openhab-core/releases/tag/datetimetrigger-0.0.1 |
Thanks @jimtng for resolving the issue. I am afraid the jar does not seem to be compatible with the version of openHAB I am running (3.3.0-1). Triggering the following error:
|
I uploaded a 3.3 jar in the same release page above. The version number would be different but you should be able to spot it. |
👍 looks like that works as expected
|
Hi,
It looks like the
DateTimeTrigger
implemented in #2923 is not taking into account the timezones which might be included in the item. The trigger treats all timestamps as local time.Further discussion is available on the forum
Testing platform:
Testing rule
Setting a timestamp with UTC timezone
Log output
Setting a timestamp with CEST timezone
Log output
The text was updated successfully, but these errors were encountered: