Don't output the time part of the ballot timestamps

- Legacy-Id: 3843
This commit is contained in:
Ole Laursen 2012-01-20 16:38:31 +00:00
parent 76e4c0054e
commit 05c664423c

View file

@ -750,13 +750,13 @@ class BallotWrapper:
if pos.pos.slug == "discuss":
p["has_text"] = True
p["discuss_text"] = pos.discuss
p["discuss_date"] = pos.discuss_time
p["discuss_date"] = pos.discuss_time.date()
p["discuss_revision"] = rev
if pos.comment:
p["has_text"] = True
p["comment_text"] = pos.comment
p["comment_date"] = pos.comment_time
p["comment_date"] = pos.comment_time.date()
p["comment_revision"] = rev
positions.append(p)