Skip to content

Commit

Permalink
Add an option to include event deadlines
Browse files Browse the repository at this point in the history
  • Loading branch information
msadowski committed Jan 19, 2024
1 parent 9e40da2 commit 28ace07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/templates/readme.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ When you insert the event, make sure it is inserted chronologically with respect
## {{ category }}

{% for event in events %}
* [{{ event.title }}]({{ event.link }}){% if event.end_date %}: {{ event.start_date.strftime('%b %d') }}-{{ event.end_date.strftime('%b %d, %Y') }}.{% else %}: {{ event.start_date.strftime('%b %d, %Y') }}.{% endif %} {{ event.city }}, {{ event.country }}{% endfor %}
* [{{ event.title }}]({{ event.link }}){% if event.end_date %}: {{ event.start_date.strftime('%b %d') }}-{{ event.end_date.strftime('%b %d, %Y') }}.{% else %}: {{ event.start_date.strftime('%b %d, %Y') }}{% if event.deadline %} (ddl: {{event.deadline.strftime('%b %d, %Y')}}){% endif %}.{% endif %} {{ event.city }}, {{ event.country }}{% endfor %}
{% endfor %}

0 comments on commit 28ace07

Please sign in to comment.