From 11d5ce8601d75ffbb2876b2ae1f38528e20c3c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 31 Jan 2024 18:38:23 +0200 Subject: [PATCH] Remove superluous ":" from iso8601 timestamp --- trakt/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trakt/utils.py b/trakt/utils.py index f9785b4e..487b60ef 100644 --- a/trakt/utils.py +++ b/trakt/utils.py @@ -46,7 +46,7 @@ def now(): def timestamp(date_object): """Generate a trakt formatted timestamp from the given date object""" - fmt = '%Y-%m-%d:T%H:%M:%S.000Z' + fmt = '%Y-%m-%dT%H:%M:%S.000Z' return date_object.strftime(fmt)