fix #513 OPDS updated date format invalid per Atom specification

replace space separating date from time with 'T'
This commit is contained in:
Eric Le Lay
2018-05-26 17:21:20 +02:00
parent 9867959916
commit 513355e2e5
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -280,6 +280,9 @@ class Books(Base):
self.timestamp, self.pubdate, self.series_index,
self.last_modified, self.path, self.has_cover)
@property
def atom_timestamp(self):
return (self.timestamp or '').replace(' ', 'T')
class Custom_Columns(Base):
__tablename__ = 'custom_columns'