Skip to content

Commit

Permalink
use local timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
blind-oracle committed Feb 6, 2025
1 parent e9376b4 commit c238d30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py_uconnect/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def refresh(self):
v for v in enabled_services if v in COMMANDS_BY_NAME]

if full_update_done:
vehicle.last_full_update = datetime.now()
vehicle.last_full_update = datetime.now().astimezone()

def get_vehicles(self):
'''Returns all vehicles data. Must execute refresh method before.'''
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
include=["py_uconnect", "py_uconnect.*"]
),
url="https://github.com/hass-uconnect/py-uconnect",
version="0.1.18",
version="0.1.19",
zip_safe=False,
)

0 comments on commit c238d30

Please sign in to comment.