Fixed Norwegian date and time input format strings.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2009-12-30 22:12:37 +00:00
parent fa0653cd1d
commit f93657218c
1 changed files with 8 additions and 8 deletions

View File

@ -14,19 +14,19 @@ DATE_INPUT_FORMATS = (
'%j. %B %Y', '%j %B %Y', # '25. oktober 2006', '25 oktober 2006' '%j. %B %Y', '%j %B %Y', # '25. oktober 2006', '25 oktober 2006'
) )
TIME_INPUT_FORMATS = ( TIME_INPUT_FORMATS = (
'%H:%i:%S', # '14:30:59' '%H:%M:%S', # '14:30:59'
'%H:%i', # '14:30' '%H:%M', # '14:30'
) )
DATETIME_INPUT_FORMATS = ( DATETIME_INPUT_FORMATS = (
'%Y-%m-%d %H:%i:%S', # '2006-10-25 14:30:59' '%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59'
'%Y-%m-%d %H:%i', # '2006-10-25 14:30' '%Y-%m-%d %H:%M', # '2006-10-25 14:30'
'%Y-%m-%d', # '2006-10-25' '%Y-%m-%d', # '2006-10-25'
'%Y-%m-%j', # '2006-10-25' '%Y-%m-%j', # '2006-10-25'
'%j.%m.%Y %H:%i:%S', # '25.10.2006 14:30:59' '%j.%m.%Y %H:%M:%S', # '25.10.2006 14:30:59'
'%j.%m.%Y %H:%i', # '25.10.2006 14:30' '%j.%m.%Y %H:%M', # '25.10.2006 14:30'
'%j.%m.%Y', # '25.10.2006' '%j.%m.%Y', # '25.10.2006'
'%j.%m.%y %H:%i:%S', # '25.10.06 14:30:59' '%j.%m.%y %H:%M:%S', # '25.10.06 14:30:59'
'%j.%m.%y %H:%i', # '25.10.06 14:30' '%j.%m.%y %H:%M', # '25.10.06 14:30'
'%j.%m.%y', # '25.10.06' '%j.%m.%y', # '25.10.06'
) )
DECIMAL_SEPARATOR = ',' DECIMAL_SEPARATOR = ','