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

Use UTC for token_expire (sensor still local time) #216

Merged
merged 2 commits into from
Nov 9, 2024

Conversation

jschlyter
Copy link
Contributor

@jschlyter jschlyter commented Nov 9, 2024

The current sensor for "API Token Expires At" shows time in UTC which is quite confusing for most users. This PR fixes this and displays the sensor in local time, but keeps the internal value in UTC.

@jschlyter jschlyter requested a review from a team as a code owner November 9, 2024 14:33
@jschlyter jschlyter merged commit 22415aa into pypolestar:main Nov 9, 2024
3 checks passed
@jschlyter jschlyter deleted the token_expire_utc branch November 9, 2024 19:30
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.

2 participants