Commit cc916a4e authored by Jonathan Rehm's avatar Jonathan Rehm

Add timestamp to default publishing date

parent a07798b0
...@@ -230,7 +230,7 @@ class Data(Base): ...@@ -230,7 +230,7 @@ class Data(Base):
class Books(Base): class Books(Base):
__tablename__ = 'books' __tablename__ = 'books'
DEFAULT_PUBDATE = "0101-01-01" DEFAULT_PUBDATE = "0101-01-01 00:00:00+00:00"
id = Column(Integer, primary_key=True) id = Column(Integer, primary_key=True)
title = Column(String) title = Column(String)
......
Markdown is supported
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