| 1 |
# This file is distributed under the same license as the Django package. |
| 2 |
# |
| 3 |
# The *_FORMAT strings use the Django date format syntax, |
| 4 |
# see https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date |
| 5 |
DATE_FORMAT = "j F Y" # '20 januari 2009' |
| 6 |
TIME_FORMAT = "H:i" # '15:23' |
| 7 |
DATETIME_FORMAT = "j F Y H:i" # '20 januari 2009 15:23' |
| 8 |
YEAR_MONTH_FORMAT = "F Y" # 'januari 2009' |
| 9 |
MONTH_DAY_FORMAT = "j F" # '20 januari' |
| 10 |
SHORT_DATE_FORMAT = "j-n-Y" # '20-1-2009' |
| 11 |
SHORT_DATETIME_FORMAT = "j-n-Y H:i" # '20-1-2009 15:23' |
| 12 |
FIRST_DAY_OF_WEEK = 1 # Monday (in Dutch 'maandag') |
| 13 |
|
| 14 |
# The *_INPUT_FORMATS strings use the Python strftime format syntax, |
| 15 |
# see https://docs.python.org/library/datetime.html#strftime-strptime-behavior |
| 16 |
DATE_INPUT_FORMATS = [ |
| 17 |
"%d-%m-%Y", # '20-01-2009' |
| 18 |
"%d-%m-%y", # '20-01-09' |
| 19 |
"%d/%m/%Y", # '20/01/2009' |
| 20 |
"%d/%m/%y", # '20/01/09' |
| 21 |
"%Y/%m/%d", # '2009/01/20' |
| 22 |
# "%d %b %Y", # '20 jan 2009' |
| 23 |
# "%d %b %y", # '20 jan 09' |
| 24 |
# "%d %B %Y", # '20 januari 2009' |
| 25 |
# "%d %B %y", # '20 januari 09' |
| 26 |
] |
| 27 |
# Kept ISO formats as one is in first position |
| 28 |
TIME_INPUT_FORMATS = [ |
| 29 |
"%H:%M:%S", # '15:23:35' |
| 30 |
"%H:%M:%S.%f", # '15:23:35.000200' |
| 31 |
"%H.%M:%S", # '15.23:35' |
| 32 |
"%H.%M:%S.%f", # '15.23:35.000200' |
| 33 |
"%H.%M", # '15.23' |
| 34 |
"%H:%M", # '15:23' |
| 35 |
] |
| 36 |
DATETIME_INPUT_FORMATS = [ |
| 37 |
# With time in %H:%M:%S : |
| 38 |
"%d-%m-%Y %H:%M:%S", # '20-01-2009 15:23:35' |
| 39 |
"%d-%m-%y %H:%M:%S", # '20-01-09 15:23:35' |
| 40 |
"%Y-%m-%d %H:%M:%S", # '2009-01-20 15:23:35' |
| 41 |
"%d/%m/%Y %H:%M:%S", # '20/01/2009 15:23:35' |
| 42 |
"%d/%m/%y %H:%M:%S", # '20/01/09 15:23:35' |
| 43 |
"%Y/%m/%d %H:%M:%S", # '2009/01/20 15:23:35' |
| 44 |
# "%d %b %Y %H:%M:%S", # '20 jan 2009 15:23:35' |
| 45 |
# "%d %b %y %H:%M:%S", # '20 jan 09 15:23:35' |
| 46 |
# "%d %B %Y %H:%M:%S", # '20 januari 2009 15:23:35' |
| 47 |
# "%d %B %y %H:%M:%S", # '20 januari 2009 15:23:35' |
| 48 |
# With time in %H:%M:%S.%f : |
| 49 |
"%d-%m-%Y %H:%M:%S.%f", # '20-01-2009 15:23:35.000200' |
| 50 |
"%d-%m-%y %H:%M:%S.%f", # '20-01-09 15:23:35.000200' |
| 51 |
"%Y-%m-%d %H:%M:%S.%f", # '2009-01-20 15:23:35.000200' |
| 52 |
"%d/%m/%Y %H:%M:%S.%f", # '20/01/2009 15:23:35.000200' |
| 53 |
"%d/%m/%y %H:%M:%S.%f", # '20/01/09 15:23:35.000200' |
| 54 |
"%Y/%m/%d %H:%M:%S.%f", # '2009/01/20 15:23:35.000200' |
| 55 |
# With time in %H.%M:%S : |
| 56 |
"%d-%m-%Y %H.%M:%S", # '20-01-2009 15.23:35' |
| 57 |
"%d-%m-%y %H.%M:%S", # '20-01-09 15.23:35' |
| 58 |
"%d/%m/%Y %H.%M:%S", # '20/01/2009 15.23:35' |
| 59 |
"%d/%m/%y %H.%M:%S", # '20/01/09 15.23:35' |
| 60 |
# "%d %b %Y %H.%M:%S", # '20 jan 2009 15.23:35' |
| 61 |
# "%d %b %y %H.%M:%S", # '20 jan 09 15.23:35' |
| 62 |
# "%d %B %Y %H.%M:%S", # '20 januari 2009 15.23:35' |
| 63 |
# "%d %B %y %H.%M:%S", # '20 januari 2009 15.23:35' |
| 64 |
# With time in %H.%M:%S.%f : |
| 65 |
"%d-%m-%Y %H.%M:%S.%f", # '20-01-2009 15.23:35.000200' |
| 66 |
"%d-%m-%y %H.%M:%S.%f", # '20-01-09 15.23:35.000200' |
| 67 |
"%d/%m/%Y %H.%M:%S.%f", # '20/01/2009 15.23:35.000200' |
| 68 |
"%d/%m/%y %H.%M:%S.%f", # '20/01/09 15.23:35.000200' |
| 69 |
# With time in %H:%M : |
| 70 |
"%d-%m-%Y %H:%M", # '20-01-2009 15:23' |
| 71 |
"%d-%m-%y %H:%M", # '20-01-09 15:23' |
| 72 |
"%Y-%m-%d %H:%M", # '2009-01-20 15:23' |
| 73 |
"%d/%m/%Y %H:%M", # '20/01/2009 15:23' |
| 74 |
"%d/%m/%y %H:%M", # '20/01/09 15:23' |
| 75 |
"%Y/%m/%d %H:%M", # '2009/01/20 15:23' |
| 76 |
# "%d %b %Y %H:%M", # '20 jan 2009 15:23' |
| 77 |
# "%d %b %y %H:%M", # '20 jan 09 15:23' |
| 78 |
# "%d %B %Y %H:%M", # '20 januari 2009 15:23' |
| 79 |
# "%d %B %y %H:%M", # '20 januari 2009 15:23' |
| 80 |
# With time in %H.%M : |
| 81 |
"%d-%m-%Y %H.%M", # '20-01-2009 15.23' |
| 82 |
"%d-%m-%y %H.%M", # '20-01-09 15.23' |
| 83 |
"%d/%m/%Y %H.%M", # '20/01/2009 15.23' |
| 84 |
"%d/%m/%y %H.%M", # '20/01/09 15.23' |
| 85 |
# "%d %b %Y %H.%M", # '20 jan 2009 15.23' |
| 86 |
# "%d %b %y %H.%M", # '20 jan 09 15.23' |
| 87 |
# "%d %B %Y %H.%M", # '20 januari 2009 15.23' |
| 88 |
# "%d %B %y %H.%M", # '20 januari 2009 15.23' |
| 89 |
] |
| 90 |
DECIMAL_SEPARATOR = "," |
| 91 |
THOUSAND_SEPARATOR = "." |
| 92 |
NUMBER_GROUPING = 3 |