From 5f235427aaf990e64377a734754d4ebcb9a08e60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz?= Date: Thu, 10 Nov 2011 18:51:29 +0100 Subject: [PATCH] Update server/datetemplate.py --- server/datetemplate.py | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/server/datetemplate.py b/server/datetemplate.py index c4a644b7..c25f9ae4 100644 --- a/server/datetemplate.py +++ b/server/datetemplate.py @@ -93,19 +93,18 @@ class DateEpoch(DateTemplate): class DateStrptime(DateTemplate): - TABLE = dict() - TABLE["Jan"] = [] - TABLE["Feb"] = [u"Fév"] - TABLE["Mar"] = [u"Mär"] - TABLE["Apr"] = ["Avr"] - TABLE["May"] = ["Mai"] - TABLE["Jun"] = [] - TABLE["Jul"] = [] - TABLE["Aug"] = ["Aou"] - TABLE["Sep"] = [] - TABLE["Oct"] = ["Okt"] - TABLE["Nov"] = [] - TABLE["Dec"] = [u"Déc", "Dez"] + TABLE["Jan"] = ["Sty"] + TABLE["Feb"] = [u"Fév", "Lut"] + TABLE["Mar"] = [u"Mär", "Mar"] + TABLE["Apr"] = ["Avr", "Kwi"] + TABLE["May"] = ["Mai", "Maj"] + TABLE["Jun"] = ["Lip"] + TABLE["Jul"] = ["Sie"] + TABLE["Aug"] = ["Aou", "Wrz"] + TABLE["Sep"] = ["Sie"] + TABLE["Oct"] = [u"Paź"] + TABLE["Nov"] = ["Lis"] + TABLE["Dec"] = [u"Déc", "Dez", "Gru"] def __init__(self): DateTemplate.__init__(self)