Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated Czech format strings. Thanks Honza Král. Refs #11637.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7e44efb853d288ff0be37d78e179f0397c174647 1 parent a8155af
Jannis Leidel authored December 24, 2009

Showing 1 changed file with 24 additions and 10 deletions. Show diff stats Hide diff stats

  1. 34  django/conf/locale/cs/formats.py
34  django/conf/locale/cs/formats.py
@@ -4,15 +4,29 @@
4 4
 
5 5
 DATE_FORMAT = 'j. F Y'
6 6
 TIME_FORMAT = 'G:i:s'
7  
-# DATETIME_FORMAT = 
8  
-# YEAR_MONTH_FORMAT = 
  7
+DATETIME_FORMAT = 'j. F Y G:i:s'
  8
+YEAR_MONTH_FORMAT = 'F Y'
9 9
 MONTH_DAY_FORMAT = 'j. F'
10  
-SHORT_DATE_FORMAT = 'j.n.Y'
11  
-# SHORT_DATETIME_FORMAT = 
12  
-# FIRST_DAY_OF_WEEK = 
13  
-# DATE_INPUT_FORMATS = 
14  
-# TIME_INPUT_FORMATS = 
15  
-# DATETIME_INPUT_FORMATS = 
  10
+SHORT_DATE_FORMAT = 'd.m.Y'
  11
+SHORT_DATETIME_FORMAT = 'd.m.Y G:i:s'
  12
+FIRST_DAY_OF_WEEK = 1 # Monday
  13
+DATE_INPUT_FORMATS = (
  14
+    '%d.%m.%Y', '%d.%m.%y',     # '25.10.2006', '25.10.06'
  15
+    '%Y-%m-%d', '%y-%m-%d',     # '2006-10-25', '06-10-25'
  16
+    '%d. %B %Y', '%d. %b. %Y',  # '25. October 2006', '25. Oct. 2006'
  17
+)
  18
+TIME_INPUT_FORMATS = (
  19
+    '%H:%M:%S', # '14:30:59'
  20
+    '%H:%M',    # '14:30'
  21
+)
  22
+DATETIME_INPUT_FORMATS = (
  23
+    '%d.%m.%Y %H:%M:%S',    # '25.10.2006 14:30:59'
  24
+    '%d.%m.%Y %H:%M',       # '25.10.2006 14:30'
  25
+    '%d.%m.%Y',             # '25.10.2006'
  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
+)
16 30
 DECIMAL_SEPARATOR = ','
17  
-THOUSAND_SEPARATOR = ' '
18  
-# NUMBER_GROUPING = 
  31
+THOUSAND_SEPARATOR = ' '
  32
+NUMBER_GROUPING = 3

0 notes on commit 7e44efb

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