Fixed links to the date formats choices in the global settings. Thanks, Russell.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2010-10-08 18:26:12 +00:00
parent dbf23ef273
commit bca8aed419
1 changed files with 7 additions and 7 deletions

View File

@ -292,34 +292,34 @@ FILE_UPLOAD_PERMISSIONS = None
FORMAT_MODULE_PATH = None FORMAT_MODULE_PATH = None
# Default formatting for date objects. See all available format strings here: # Default formatting for date objects. See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'N j, Y' DATE_FORMAT = 'N j, Y'
# Default formatting for datetime objects. See all available format strings here: # Default formatting for datetime objects. See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATETIME_FORMAT = 'N j, Y, P' DATETIME_FORMAT = 'N j, Y, P'
# Default formatting for time objects. See all available format strings here: # Default formatting for time objects. See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
TIME_FORMAT = 'P' TIME_FORMAT = 'P'
# Default formatting for date objects when only the year and month are relevant. # Default formatting for date objects when only the year and month are relevant.
# See all available format strings here: # See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
YEAR_MONTH_FORMAT = 'F Y' YEAR_MONTH_FORMAT = 'F Y'
# Default formatting for date objects when only the month and day are relevant. # Default formatting for date objects when only the month and day are relevant.
# See all available format strings here: # See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
MONTH_DAY_FORMAT = 'F j' MONTH_DAY_FORMAT = 'F j'
# Default short formatting for date objects. See all available format strings here: # Default short formatting for date objects. See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
SHORT_DATE_FORMAT = 'm/d/Y' SHORT_DATE_FORMAT = 'm/d/Y'
# Default short formatting for datetime objects. # Default short formatting for datetime objects.
# See all available format strings here: # See all available format strings here:
# http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
SHORT_DATETIME_FORMAT = 'm/d/Y P' SHORT_DATETIME_FORMAT = 'm/d/Y P'
# Default formats to be used when parsing dates from input boxes, in order # Default formats to be used when parsing dates from input boxes, in order