summaryrefslogtreecommitdiffstats
path: root/tabellio/pcfdb/sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'tabellio/pcfdb/sync.py')
-rw-r--r--tabellio/pcfdb/sync.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py
index 4e3c057..de27aa4 100644
--- a/tabellio/pcfdb/sync.py
+++ b/tabellio/pcfdb/sync.py
@@ -772,10 +772,10 @@ class SyncFromPcfDbView(BrowserView):
object.topics = topics
if textdefts:
object.final_version = True
- object.publication_date = DateTime(textdefts.date.isoformat())
+ object.publication_date = DateTime(textdefts.isoformat())
elif textprovts:
object.final_version = False
- object.publication_date = DateTime(textprovts.date.isoformat())
+ object.publication_date = DateTime(textprovts.isoformat())
if authors:
authors = [self.get_author_intid(x) for x in authors]
object.authors = [RelationValue(x) for x in authors if x]