Fix datetime formatting for sipgate API
This commit is contained in:
parent
2f39705d9a
commit
3bccd25028
|
@ -30,7 +30,9 @@ def list_incoming_sms(from_dt=None):
|
|||
|
||||
if from_dt is not None:
|
||||
params["from"] = (
|
||||
from_dt.astimezone(timezone.utc).isoformat(timespec="seconds") + "Z"
|
||||
from_dt.astimezone(timezone.utc)
|
||||
.isoformat(timespec="seconds")
|
||||
.replace("+00:00", "Z")
|
||||
)
|
||||
|
||||
items = []
|
||||
|
|
Loading…
Reference in New Issue