Fix machine date format

This commit is contained in:
Midgard 2019-03-28 01:41:08 +01:00
parent d435ea4620
commit c2ede76c51
1 changed files with 1 additions and 1 deletions

View File

@ -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