Commits

Jun Omae committed b23569d

Fixed date hint failure with Babel trunk and CLDR 1.7.2.

  • Participants
  • Parent commits e733aa9

Comments (0)

Files changed (1)

File trac/util/datefmt.py

     if locale == 'iso8601':
         return 'ISO_8601'
     if babel and locale:
-        values = {'yyyy': 'yy', 'M': 'm', 'MM': 'mm', 'MMM': 'M',
+        values = {'yyyy': 'yy', 'y': 'yy', 'M': 'm', 'MM': 'mm', 'MMM': 'M',
                   'd': 'd', 'dd': 'dd'}
         return get_date_format('medium', locale=locale).format % values