Commit 59328ac5 authored by Guillaume Mella's avatar Guillaume Mella
Browse files

use simple isoformat call to avoid some dep errors.

parent 608425e8
......@@ -61,7 +61,8 @@ class Submission(Base):
star_info_entries = relationship('StarInfoEntry', back_populates='submission')
def iso_create_time(self):
return self.create_ts.isoformat(sep=' ', timespec='seconds')
# return self.create_ts.isoformat(sep=' ', timespec='seconds')
return self.create_ts.isoformat()
def total_entries(self):
return len(self.star_info_entries)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment