mirror of
https://github.com/django/django.git
synced 2024-12-26 11:06:07 +00:00
Fixed #18363 -- Improved Galician date and time format strings
Thanks Guttorm Flatabø for the report and the initial patch, and Fran Dieguez for the review.
This commit is contained in:
parent
8fbfd21719
commit
a55cde8ab1
@ -1,17 +1,18 @@
|
|||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# This file is distributed under the same license as the Django package.
|
# This file is distributed under the same license as the Django package.
|
||||||
#
|
#
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
# The *_FORMAT strings use the Django date format syntax,
|
# The *_FORMAT strings use the Django date format syntax,
|
||||||
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
|
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
|
||||||
DATE_FORMAT = 'd F Y'
|
DATE_FORMAT = r'j \d\e F \d\e Y'
|
||||||
TIME_FORMAT = 'H:i:s'
|
TIME_FORMAT = 'H:i:s'
|
||||||
# DATETIME_FORMAT =
|
DATETIME_FORMAT = r'j \d\e F \d\e Y \á\s H:i'
|
||||||
YEAR_MONTH_FORMAT = 'F Y'
|
YEAR_MONTH_FORMAT = r'F \d\e Y'
|
||||||
MONTH_DAY_FORMAT = 'j F'
|
MONTH_DAY_FORMAT = r'j \d\e F'
|
||||||
SHORT_DATE_FORMAT = 'j M, Y'
|
SHORT_DATE_FORMAT = 'd-m-Y'
|
||||||
# SHORT_DATETIME_FORMAT =
|
SHORT_DATETIME_FORMAT = 'd-m-Y, H:i'
|
||||||
# FIRST_DAY_OF_WEEK =
|
FIRST_DAY_OF_WEEK = 1 # Monday
|
||||||
|
|
||||||
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
|
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
|
||||||
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
|
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
|
||||||
|
Loading…
Reference in New Issue
Block a user