Skip to content
Snippets Groups Projects
Commit fab4c4d4 authored by Magnus Giesbert's avatar Magnus Giesbert
Browse files

Check for `datetime.date()` instead of `datetime.datetime()`.

parent 75088536
No related branches found
No related tags found
No related merge requests found
......@@ -486,7 +486,7 @@ def parse_protocol_async_inner(protocol):
"'{}' ist keine valide Uhrzeit.".format(
protocol_tag.values[1]))
for protocol_tag in protocol_tags:
new_protocol_date = parse_datetime_from_string(protocol_tag.values[0])
new_protocol_date = parse_datetime_from_string(protocol_tag.values[0]).date()
new_protocol_time = None
if len(protocol_tag.values) > 1:
new_protocol_time = datetime.strptime(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment