Use correct timezone when indexing comments

This commit is contained in:
Jon Pentland 2022-10-21 15:17:34 +02:00
parent fd1cfa8cad
commit 103bd894d9
1 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ def effective(object):
object.creation_date.hour,
object.creation_date.minute,
object.creation_date.second,
"GMT",
object.creation_date.tzname(),
)
@ -123,7 +123,7 @@ def created(object):
object.creation_date.hour,
object.creation_date.minute,
object.creation_date.second,
"GMT",
object.creation_date.tzname(),
)
@ -137,7 +137,7 @@ def modified(object):
object.modification_date.hour,
object.modification_date.minute,
object.modification_date.second,
"GMT",
object.modification_date.tzname(),
)