From f9b22327a63754e46ab3f235ef5495b11f5bd508 Mon Sep 17 00:00:00 2001 From: Greg Turner Date: Fri, 2 Jun 2017 16:19:28 +1000 Subject: [PATCH] Catching a couple of other month markers --- icekit_events/templatetags/events_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icekit_events/templatetags/events_tags.py b/icekit_events/templatetags/events_tags.py index f705536..080256a 100644 --- a/icekit_events/templatetags/events_tags.py +++ b/icekit_events/templatetags/events_tags.py @@ -41,7 +41,7 @@ def add_days(date, days): YEAR_RE = r"\W*(o|y|Y)\W*" # year markers, plus any surrounding non-word text -MONTH_RE = r"\W*(b|E|F|m|M|n|N)\W*" # month markers, plus any surrounding non-word text +MONTH_RE = r"\W*(b|E|F|m|M|n|N|S|t)\W*" # month markers, plus any surrounding non-word text def _format_with_same_year(format_specifier): """