diff options
| author | Georg Bauer <gb@hugo.westfalen.de> | 2006-05-16 07:38:23 +0000 |
|---|---|---|
| committer | Georg Bauer <gb@hugo.westfalen.de> | 2006-05-16 07:38:23 +0000 |
| commit | 25816ea383c1cfcf0b8fde2ce9aefecbe2fc1923 (patch) | |
| tree | e4ac8628afada4e99d29e2d79438d7040a4c71a3 /django/utils | |
| parent | ca197739d9e586e65af023791ebabf1ea6057cd1 (diff) | |
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
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/dates.py | 4 |
1 files 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, |
