From cc916a4eb480bed583f70ae04655a4cca9593e3d Mon Sep 17 00:00:00 2001 From: Jonathan Rehm Date: Mon, 10 Jul 2017 09:20:46 -0700 Subject: [PATCH] Add timestamp to default publishing date --- cps/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/db.py b/cps/db.py index 615d2d34..f337ea4c 100755 --- a/cps/db.py +++ b/cps/db.py @@ -230,7 +230,7 @@ class Data(Base): class Books(Base): __tablename__ = 'books' - DEFAULT_PUBDATE = "0101-01-01" + DEFAULT_PUBDATE = "0101-01-01 00:00:00+00:00" id = Column(Integer, primary_key=True) title = Column(String)