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

Fix PUT sensor/state/localtime #6120

Merged
merged 1 commit into from
Jun 7, 2022
Merged

Conversation

manup
Copy link
Member

@manup manup commented Jun 7, 2022

Used by CLIPDaylightOffset sensor, the time string passed to item->setValue(QVariant) is automatically interpreted as UTC.

The PR creates a QDateTime as local time and passes this to setValue() to be handled without modification.

Used by CLIPDaylightOffset sensor, the time string passed to item->setValue() is automatically interpretet as UTC.

The PR creates a QDateTime as local time and passes this to setValue() to be handled without modification.
@manup manup added this to the v2.17.0-beta milestone Jun 7, 2022
@manup manup merged commit e115f68 into dresden-elektronik:master Jun 7, 2022
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

Successfully merging this pull request may close these issues.

1 participant