Ticket #29421: patch.diff

File patch.diff, 2.9 KB (added by Bogdan Mateescu, 6 years ago)
  • AUTHORS

    diff --git a/AUTHORS b/AUTHORS
    index ff7763b2fd..d5c3e1b2b9 100644
    a b answer newbie questions, and generally made Django that much better:  
    114114    Bill Fenner <fenner@gmail.com>
    115115    Bj├Şrn Stabell <bjorn@exoweb.net>
    116116    Bo Marchman <bo.marchman@gmail.com>
     117    Bogdan Mateescu
    117118    Bojan Mihelac <bmihelac@mihelac.org>
    118119    Bouke Haarsma <bouke@haarsma.eu>
    119120    Bo┼żidar Benko <bbenko@gmail.com>
  • django/conf/locale/ro/formats.py

    diff --git a/django/conf/locale/ro/formats.py b/django/conf/locale/ro/formats.py
    index ba3fd73b4a..11f4e2e9fc 100644
    a b YEAR_MONTH_FORMAT = 'F Y'  
    99MONTH_DAY_FORMAT = 'j F'
    1010SHORT_DATE_FORMAT = 'd.m.Y'
    1111SHORT_DATETIME_FORMAT = 'd.m.Y, H:i'
    12 # FIRST_DAY_OF_WEEK =
     12FIRST_DAY_OF_WEEK = 1
    1313
    1414# The *_INPUT_FORMATS strings use the Python strftime format syntax,
    1515# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
    16 # DATE_INPUT_FORMATS =
    17 # TIME_INPUT_FORMATS =
    18 # DATETIME_INPUT_FORMATS =
     16DATE_INPUT_FORMATS = [
     17    '%d.%m.%Y',
     18    '%d.%b.%Y',
     19    '%d %B %Y',
     20    '%A, %d %B %Y',
     21]
     22TIME_INPUT_FORMATS = [
     23    '%H:%M',
     24    '%H:%M:%S',
     25    '%H:%M:%S.%f',
     26]
     27DATETIME_INPUT_FORMATS = [
     28    '%d.%m.%Y, %H:%M',
     29    '%d.%m.%Y, %H:%M:%S',
     30    '%d.%B.%Y, %H:%M',
     31    '%d.%B.%Y, %H:%M:%S',
     32]
    1933DECIMAL_SEPARATOR = ','
    2034THOUSAND_SEPARATOR = '.'
    21 # NUMBER_GROUPING =
     35NUMBER_GROUPING = 3
Back to Top