Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix: slovenian l10n does not work with hidden field

  • Loading branch information...
commit 8c1e9d4aafd306ca4d52368909050495f197ba05 1 parent 54c81a1
@bmihelac authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 django/conf/locale/sl/formats.py
View
4 django/conf/locale/sl/formats.py
@@ -19,6 +19,7 @@
'%d.%m.%Y', '%d.%m.%y', # '25.10.2006', '25.10.06'
'%d-%m-%Y', # '25-10-2006'
'%d. %m. %Y', '%d. %m. %y', # '25. 10. 2006', '25. 10. 06'
+ '%Y-%m-%d', '%y-%m-%d', # '2006-10-25', '06-10-25'
)
TIME_INPUT_FORMATS = (
@@ -42,6 +43,9 @@
'%d. %m. %y %H:%M:%S', # '25. 10. 06 14:30:59'
'%d. %m. %y %H:%M', # '25. 10. 06 14:30'
'%d. %m. %y', # '25. 10. 06'
+ '%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59'
+ '%Y-%m-%d %H:%M', # '2006-10-25 14:30'
+ '%Y-%m-%d', # '2006-10-25'
)
DECIMAL_SEPARATOR = ','
Please sign in to comment.
Something went wrong with that request. Please try again.