Skip to content

Commit f128b1e

Browse files
committed
fix: time being stripped from the datetime
1 parent 42e626c commit f128b1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/elections/tables.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ def to_update_dict(self) -> dict:
8686
"name": self.name,
8787
"type": self.type,
8888

89-
"datetime_start_nominations": self.datetime_start_nominations.date(),
90-
"datetime_start_voting": self.datetime_start_voting.date(),
91-
"datetime_end_voting": self.datetime_end_voting.date(),
89+
"datetime_start_nominations": self.datetime_start_nominations,
90+
"datetime_start_voting": self.datetime_start_voting,
91+
"datetime_end_voting": self.datetime_end_voting,
9292

9393
"available_positions": self.available_positions,
9494
"survey_link": self.survey_link,

0 commit comments

Comments
 (0)