Skip to content

Commit

Permalink
Send local timestamp in milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
rikroe committed Dec 10, 2021
1 parent d77b081 commit 6f15910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bimmer_connected/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def _get_vehicles(self) -> None:
headers=self.request_header(brand),
params={
"apptimezone": self.utcdiff,
"appDateTime": datetime.datetime.utcnow().timestamp(),
"appDateTime": int(datetime.datetime.now().timestamp()*1000),
"tireGuardMode": "ENABLED"},
logfilename="vehicles_v2_{}".format(brand.value),
)
Expand Down

0 comments on commit 6f15910

Please sign in to comment.