Ticket #15608: adding_es_NI_2.patch

File adding_es_NI_2.patch, 1.7 KB (added by fitoria, 14 years ago)
  • django/conf/locale/es_NI/formats.py

     
     1# -*- encoding: utf-8 -*-
     2# This file is distributed under the same license as the Django package.
     3#
     4
     5DATE_FORMAT = r'j \de F \de Y'
     6TIME_FORMAT = 'H:i:s'
     7DATETIME_FORMAT = r'j \de F \de Y \a \l\a\s H:i'
     8YEAR_MONTH_FORMAT = r'F \de Y'
     9MONTH_DAY_FORMAT = r'j \de F'
     10SHORT_DATE_FORMAT = 'd/m/Y'
     11SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
     12FIRST_DAY_OF_WEEK = 1                   # Monday: ISO 8601
     13DATE_INPUT_FORMATS = (
     14    '%d/%m/%Y', '%d/%m/%y',             # '25/10/2006', '25/10/06'
     15    '%Y%m%d',                           # '20061025'
     16
     17)
     18TIME_INPUT_FORMATS = (
     19    '%H:%M:%S', '%H:%M',                # '14:30:59', '14:30'
     20)
     21DATETIME_INPUT_FORMATS = (
     22    '%d/%m/%Y %H:%M:%S',
     23    '%d/%m/%Y %H:%M',
     24    '%d/%m/%y %H:%M:%S',
     25    '%d/%m/%y %H:%M',
     26)
     27DECIMAL_SEPARATOR = '.'
     28THOUSAND_SEPARATOR = ','
     29NUMBER_GROUPING = 3
     30
  • django/conf/global_settings.py

     
    5757    ('es', gettext_noop('Spanish')),
    5858    ('es-ar', gettext_noop('Argentinian Spanish')),
    5959    ('es-mx', gettext_noop('Mexican Spanish')),
     60    ('es-ni', gettext_noop('Nicaraguan Spanish')),
    6061    ('et', gettext_noop('Estonian')),
    6162    ('eu', gettext_noop('Basque')),
    6263    ('fa', gettext_noop('Persian')),
Back to Top