Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 25816ea383c1cfcf0b8fde2ce9aefecbe2fc1923 1 parent ca19773
Georg Bauer authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/utils/dates.py
View
4 django/utils/dates.py
@@ -16,8 +16,8 @@
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,
Please sign in to comment.
Something went wrong with that request. Please try again.