Skip to content

Commit

Permalink
Updated home page date format
Browse files Browse the repository at this point in the history
  • Loading branch information
daylamtayari committed Oct 29, 2022
1 parent 74a8b83 commit dda5db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schedulegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def home_generation():
event = event_index[0]
date = parse_date(event)
index_html = index_html.replace("[TITLE]", event.get('name'))
index_html = index_html.replace("[DATE]", date.strftime("%d %b %Y"))
index_html = index_html.replace("[DATE]", date.strftime("%d %b"))
index_html = index_html.replace("[TIME]", date.strftime("%H:%M"))
index_html = index_html.replace("[DURATION]", event.get('duration'))
index_html = index_html.replace("[LOCATION]", event.get('location'))
Expand Down

0 comments on commit dda5db3

Please sign in to comment.