Fix machine date format

This commit is contained in:
Midgard 2019-03-28 01:41:08 +01:00
parent d435ea4620
commit c2ede76c51

View file

@ -55,7 +55,7 @@ class Quote(db.Model):
return self.created_at.strftime("%Y-%m-%d_%H:%M:%S") return self.created_at.strftime("%Y-%m-%d_%H:%M:%S")
def created_at_machine(self): 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): def created_at_human(self):
c = self.created_at c = self.created_at