From c796db53c56cdebc36538ed9bc79c539cca22584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 21 Sep 2010 14:32:10 +0000 Subject: [PATCH] #4242: NarWeb ignores Calendar for sorting Dates on Event groups svn: r15919 --- 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 411fc4726..6b4a04c1b 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -2670,7 +2670,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