Ticket #13485: sv_format_codes.patch
File sv_format_codes.patch, 1.2 KB (added by , 15 years ago) |
---|
-
conf/locale/sv/formats.py
11 11 SHORT_DATETIME_FORMAT = 'Y-m-d H:i' 12 12 FIRST_DAY_OF_WEEK = 1 13 13 DATE_INPUT_FORMATS = ( 14 '%Y-%m-%d', # '2006-10-25' 14 '%Y-%m-%d', # '2006-10-25' 15 '%m/%d/%Y', # '10/25/2006' 16 '%m/%d/%y', # '10/25/06' 15 17 ) 16 18 TIME_INPUT_FORMATS = ( 17 '%H:%i', # '14:30' 19 '%H:%M:%S', # '14:30:59' 20 '%H:%M', # '14:30' 18 21 ) 19 22 DATETIME_INPUT_FORMATS = ( 20 '%Y-%m-%d %H:%i', # '2006-10-25 14:30' 23 '%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59' 24 '%Y-%m-%d %H:%M', # '2006-10-25 14:30' 25 '%Y-%m-%d', # '2006-10-25' 26 '%m/%d/%Y %H:%M:%S', # '10/25/2006 14:30:59' 27 '%m/%d/%Y %H:%M', # '10/25/2006 14:30' 28 '%m/%d/%Y', # '10/25/2006' 29 '%m/%d/%y %H:%M:%S', # '10/25/06 14:30:59' 30 '%m/%d/%y %H:%M', # '10/25/06 14:30' 31 '%m/%d/%y', # '10/25/06' 21 32 ) 22 33 DECIMAL_SEPARATOR = '.' 23 34 THOUSAND_SEPARATOR = ' '