From c2ede76c51bdfcd77cfc89ca8a2aa3b636f3e534 Mon Sep 17 00:00:00 2001 From: Midgard Date: Thu, 28 Mar 2019 01:41:08 +0100 Subject: [PATCH] Fix machine date format --- app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models.py b/app/models.py index 5618e22..e9f736a 100644 --- a/app/models.py +++ b/app/models.py @@ -55,7 +55,7 @@ class Quote(db.Model): return self.created_at.strftime("%Y-%m-%d_%H:%M:%S") def created_at_machine(self): - return self.created_at.strftime("%Y-%m-%dT%H:%M:%S%d") + return self.created_at.strftime("%Y-%m-%dT%H:%M:%S%z") def created_at_human(self): c = self.created_at