Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #13577 -- Updated Polish formats file. Thanks, ludwik.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5acd9cd8bab0866120d089e5e3d563e23fa3fd9e 1 parent 286ce85
Jannis Leidel authored May 21, 2010

Showing 1 changed file with 22 additions and 8 deletions. Show diff stats Hide diff stats

  1. 30  django/conf/locale/pl/formats.py
30  django/conf/locale/pl/formats.py
@@ -4,15 +4,29 @@
4 4
 
5 5
 DATE_FORMAT = 'j F Y'
6 6
 TIME_FORMAT = 'H:i:s'
7  
-# DATETIME_FORMAT = 
  7
+DATETIME_FORMAT = 'j F Y H:i:s'
8 8
 YEAR_MONTH_FORMAT = 'F Y'
9 9
 MONTH_DAY_FORMAT = 'j F'
10 10
 SHORT_DATE_FORMAT = 'd-m-Y'
11  
-# SHORT_DATETIME_FORMAT = 
12  
-# FIRST_DAY_OF_WEEK = 
13  
-# DATE_INPUT_FORMATS = 
14  
-# TIME_INPUT_FORMATS = 
15  
-# DATETIME_INPUT_FORMATS = 
  11
+SHORT_DATETIME_FORMAT = 'd-m-Y  H: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 5acd9cd

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