Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Changed dateformat 'M' to use MONTHS_3 instead of MONTHS, for better …

…support of translations

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent d9ce900 commit 3f4d6a2ddae34bc436377c3307f2d2063f9de309 @adrianholovaty adrianholovaty committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/utils/
4 django/utils/
@@ -11,7 +11,7 @@
-from django.utils.dates import MONTHS, MONTHS_AP, WEEKDAYS
+from django.utils.dates import MONTHS, MONTHS_3, MONTHS_AP, WEEKDAYS
from django.utils.tzinfo import LocalTimezone
from calendar import isleap, monthrange
import re, time
@@ -147,7 +147,7 @@ def m(self):
def M(self):
"Month, textual, 3 letters; e.g. 'Jan'"
- return MONTHS[][0:3]
+ return MONTHS_3[].title()
def n(self):
"Month without leading zeros; i.e. '1' to '12'"

0 comments on commit 3f4d6a2

Please sign in to comment.
Something went wrong with that request. Please try again.