summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieltatraivertis <35067515+danieltatraivertis@users.noreply.github.com>2018-02-01 02:03:27 +0100
committerTim Graham <timograham@gmail.com>2018-01-31 20:03:27 -0500
commit9cd313fc2e1282c9e40df62c89825eb7796988b2 (patch)
treea35c60f96c75e074796a8d54f889b428720b88cf
parentf73f821143d5934780e3b76f90ff9a7110c509f7 (diff)
Fixed #29090 -- Updated Hungarian time formats to use ':' instead of '.'.
-rw-r--r--django/conf/locale/hu/formats.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/django/conf/locale/hu/formats.py b/django/conf/locale/hu/formats.py
index 33b9b6e225..4c52d7dec6 100644
--- a/django/conf/locale/hu/formats.py
+++ b/django/conf/locale/hu/formats.py
@@ -3,12 +3,12 @@
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'Y. F j.'
-TIME_FORMAT = 'G.i'
-DATETIME_FORMAT = 'Y. F j. G.i'
+TIME_FORMAT = 'H:i'
+DATETIME_FORMAT = 'Y. F j. H:i'
YEAR_MONTH_FORMAT = 'Y. F'
MONTH_DAY_FORMAT = 'F j.'
SHORT_DATE_FORMAT = 'Y.m.d.'
-SHORT_DATETIME_FORMAT = 'Y.m.d. G.i'
+SHORT_DATETIME_FORMAT = 'Y.m.d. H:i'
FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
@@ -17,13 +17,13 @@ DATE_INPUT_FORMATS = [
'%Y.%m.%d.', # '2006.10.25.'
]
TIME_INPUT_FORMATS = [
- '%H.%M.%S', # '14.30.59'
- '%H.%M', # '14.30'
+ '%H:%M:%S', # '14:30:59'
+ '%H:%M', # '14:30'
]
DATETIME_INPUT_FORMATS = [
- '%Y.%m.%d. %H.%M.%S', # '2006.10.25. 14.30.59'
- '%Y.%m.%d. %H.%M.%S.%f', # '2006.10.25. 14.30.59.000200'
- '%Y.%m.%d. %H.%M', # '2006.10.25. 14.30'
+ '%Y.%m.%d. %H:%M:%S', # '2006.10.25. 14:30:59'
+ '%Y.%m.%d. %H:%M:%S.%f', # '2006.10.25. 14:30:59.000200'
+ '%Y.%m.%d. %H:%M', # '2006.10.25. 14:30'
'%Y.%m.%d.', # '2006.10.25.'
]
DECIMAL_SEPARATOR = ','