Use correct date when indexing. Update comment indexes to use America/Los_Angeles

This commit is contained in:
Jon Pentland
2022-10-24 22:43:35 +01:00
parent c5f17dc5e8
commit aa38be3ac2
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ def effective(object):
@indexer(IComment)
def created(object):
# the catalog index needs Zope DateTime instead of Python datetime
return DT(object.modification_date)
return DT(object.creation_date)
@indexer(IComment)