﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25024	Discrepancy between /admin/ DateTimePicker.js date format and SHORT_DATE_FORMAT in /en/ lang	Walter Doekes	nobody	"A question:

DateTimeShortcuts.js uses `get_format('DATE_INPUT_FORMATS')[0]` while the rest of a Django application uses `SHORT_DATE_FORMAT` to format dates.

https://github.com/django/django/blob/master/django/conf/locale/en/formats.py#L13
https://github.com/django/django/blob/master/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js#L330

Shouldn't formats.py be adjusted so `DATE_INPUT_FORMATS` holds `'%m/%d/%Y'` which is equal to SHORT_DATE_FORMAT (`'m/d/Y'`)?

Further, I believe that the datepicker ignores the USE_L10N setting as well (assuming it to be True). At least it used to in previous Django versions.

Not sure whether to categorize under i18n or admin.."	Cleanup/optimization	new	Internationalization	1.8	Normal			wjdoekes+django@…	Accepted	0	0	0	0	0	0
