update timezone
This commit is contained in:
@@ -50,7 +50,7 @@ class GotifyMessageModel(AttributeDict):
|
|||||||
d.update(
|
d.update(
|
||||||
{
|
{
|
||||||
"date": datetime.datetime.fromisoformat(
|
"date": datetime.datetime.fromisoformat(
|
||||||
d["date"].split(".")[0] + ".000000+00:00"
|
d["date"].split(".")[0] + ".000000+" + d["date"].split("+")[-1]
|
||||||
).astimezone(local_timezone)
|
).astimezone(local_timezone)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user