From 25816ea383c1cfcf0b8fde2ce9aefecbe2fc1923 Mon Sep 17 00:00:00 2001 From: Georg Bauer Date: Tue, 16 May 2006 07:38:23 +0000 Subject: [PATCH] fixed #1817: added translation hooks for 3-letter month names git-svn-id: http://code.djangoproject.com/svn/django/trunk@2912 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/utils/dates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/utils/dates.py b/django/utils/dates.py index 12fb7b2b76..111f32e4fc 100644 --- a/django/utils/dates.py +++ b/django/utils/dates.py @@ -16,8 +16,8 @@ MONTHS = { 12:_('December') } MONTHS_3 = { - 1:'jan', 2:'feb', 3:'mar', 4:'apr', 5:'may', 6:'jun', 7:'jul', 8:'aug', - 9:'sep', 10:'oct', 11:'nov', 12:'dec' + 1:_('jan'), 2:_('feb'), 3:_('mar'), 4:_('apr'), 5:_('may'), 6:_('jun'), + 7:_('jul'), 8:_('aug'), 9:_('sep'), 10:_('oct'), 11:_('nov'), 12:_('dec') } MONTHS_3_REV = { 'jan':1, 'feb':2, 'mar':3, 'apr':4, 'may':5, 'jun':6, 'jul':7, 'aug':8,