From 72693c94fa097d6d0444fa70ec25f8480e98f82e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 21 Sep 2010 14:33:38 +0000 Subject: [PATCH] #4242: NarWeb ignores Calendar for sorting Dates on Event groups svn: r15920 --- src/plugins/webreport/NarrativeWeb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index f6089462e..5c99eaa68 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -2806,7 +2806,7 @@ class EventListPage(BasePage): if date: # returns the date in YYYY-MM-DD format - return gen.lib.Date(date.get_year(), date.get_month(), date.get_day()) + return gen.lib.Date(date.get_year_calendar("Gregorian"), date.get_month(), date.get_day()) # return empty date string return event_date