Skip to content

Commit

Permalink
Merge branch 'feature/fix-event-report-timestamp' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
brianschubert committed Jul 27, 2019
2 parents 0d6ee5d + d3773db commit 266299d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion troop89/events/utils.py
Expand Up @@ -75,7 +75,7 @@ def render_datetime_range(start: datetime, end: datetime, date_format: str, time
start, end = timezone.localtime(start), timezone.localtime(end)
start_format = f'{date_format} {time_format}'
if start.date() == end.date():
end_format = date_format
end_format = time_format
else:
end_format = start_format
return ''.join([
Expand Down

0 comments on commit 266299d

Please sign in to comment.