Skip to content
Snippets Groups Projects
Commit 37b8b6cf authored by elg's avatar elg Committed by Andreas Ellewsen
Browse files

Update doc string to match function

parent b055277a
No related branches found
No related tags found
1 merge request!328Move end role notifications to day after end
Pipeline #138659 passed with stages
in 8 minutes and 21 seconds
......@@ -106,7 +106,7 @@ def _compute_checksum(input_digits: str) -> bool:
def date_to_datetime_midnight(in_date: date) -> datetime:
"""Convert a date or str object to a datetime object with timezone utc"""
"""Convert a date object to a datetime object with timezone utc"""
return datetime.combine(in_date, datetime.min.time(), tzinfo=timezone.utc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment