Skip to content

Commit

Permalink
Show correct local time in event teaser.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaith committed May 20, 2016
1 parent 0f50a3d commit 7cf6284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion talks/events/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def group_events (events):
if minutes==":00":
minutes = ""
ampm = datetime.strftime(group_event.start, '%p')
group_event.display_time = str(int(hours))+minutes+ampm.lower()
group_event.display_time = group_event.formatted_time
# if there is no oxford_date field, events are search results
# we need to call date_to_oxford_date to create the oxford date
if not group_event.oxford_date:
Expand Down

0 comments on commit 7cf6284

Please sign in to comment.