Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #16076 -- Updated Hungarian l10n formats. Thanks, slink.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 98a69a2c0a9d6a57cc637b0e9a998495fc0bcbd7 1 parent 5439349
Jannis Leidel authored June 17, 2011

Showing 1 changed file with 18 additions and 9 deletions. Show diff stats Hide diff stats

  1. 27  django/conf/locale/hu/formats.py
27  django/conf/locale/hu/formats.py
@@ -5,19 +5,28 @@
5 5
 # The *_FORMAT strings use the Django date format syntax,
6 6
 # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
7 7
 DATE_FORMAT = 'Y. F j.'
8  
-TIME_FORMAT = 'G:i:s'
9  
-# DATETIME_FORMAT = 
10  
-# YEAR_MONTH_FORMAT = 
  8
+TIME_FORMAT = 'G.i.s'
  9
+DATETIME_FORMAT = 'Y. F j. G.i.s'
  10
+YEAR_MONTH_FORMAT = 'Y. F'
11 11
 MONTH_DAY_FORMAT = 'F j.'
12 12
 SHORT_DATE_FORMAT = 'Y.m.d.'
13  
-# SHORT_DATETIME_FORMAT = 
14  
-# FIRST_DAY_OF_WEEK = 
  13
+SHORT_DATETIME_FORMAT = 'Y.m.d. G.i.s'
  14
+FIRST_DAY_OF_WEEK = 1 # Monday
15 15
 
16 16
 # The *_INPUT_FORMATS strings use the Python strftime format syntax,
17 17
 # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
18  
-# DATE_INPUT_FORMATS = 
19  
-# TIME_INPUT_FORMATS = 
20  
-# DATETIME_INPUT_FORMATS = 
  18
+DATE_INPUT_FORMATS = (
  19
+    '%Y.%m.%d.', # '2006.10.25.'
  20
+)
  21
+TIME_INPUT_FORMATS = (
  22
+    '%H.%M.%S', # '14.30.59'
  23
+    '%H.%M',    # '14.30'
  24
+)
  25
+DATETIME_INPUT_FORMATS = (
  26
+    '%Y.%m.%d. %H.%m.%S',   # '2006.10.25. 14.30.59'
  27
+    '%Y.%m.%d. %H.%M',      # '2006.10.25. 14.30'
  28
+    '%Y.%m.%d.',            # '2006.10.25.'
  29
+)
21 30
 DECIMAL_SEPARATOR = ','
22 31
 THOUSAND_SEPARATOR = u' ' # Non-breaking space
23  
-# NUMBER_GROUPING = 
  32
+NUMBER_GROUPING = 3

0 notes on commit 98a69a2

Please sign in to comment.
Something went wrong with that request. Please try again.