Fix machine date format
This commit is contained in:
parent
d435ea4620
commit
c2ede76c51
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue