From 68ebab83886076eba0ee575cb88f29409a76c2da Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Fri, 2 Nov 2018 14:03:03 -0400 Subject: [PATCH] add day_specifier from recurrence If the recurrence knows how to give us a "day specifier" such as "the first" then include that in the output from the template. Depends-On: https://review.openstack.org/615268 Change-Id: I89cf1eb243e2b35ce7bf426dae7939bbcb78aa3c Signed-off-by: Doug Hellmann --- meetingindex.jinja | 2 +- test-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meetingindex.jinja b/meetingindex.jinja index a656f0e4..25fed62d 100644 --- a/meetingindex.jinja +++ b/meetingindex.jinja @@ -74,7 +74,7 @@ use in your favorite calendaring app:

{% for schedule in meeting.schedules %}
  -{{ schedule.recurrence }} on {{ schedule.day }} at +{{ schedule.recurrence }} on {% if schedule.recurrence.day_specifier %}{{ schedule.recurrence.day_specifier }} {% endif %}{{ schedule.day }} at diff --git a/test-requirements.txt b/test-requirements.txt index 18008007..77daa411 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,4 +2,4 @@ hacking<0.11,>=0.10.0 pytz>=2013.6 # MIT PyYAML>=3.1.0 # MIT requests>=2.10.0 # Apache-2.0 -yaml2ical>=0.9.0 +yaml2ical>=0.10.0