﻿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
34241	Django admin not showing seconds for list_display nor readonly DateTimeField	Petr Dlouhý	nobody	"The default output format for DateTimeField (e.g. `created`) fields in Django admin is something like `Jan. 4, 2023, 4:22 p.m.`. When I am debugging some issue and trying to find matching record in logs I am lacking information about second (or even milliseconds).

The only solutions I found is either to change `DATETIME_FORMAT` systemwise:
{{{
from django.conf.locale.en import formats as en_formats
en_formats.DATETIME_FORMAT = ""d M. Y H:i:s""
}}}

or to change the output for individual fields.

But I would like to see seconds for all DateTime fields in whole admin interface and not to change the format in frontend nor API (which the first solution causes).

Most importantly I feel, that all Django users would benefit from ability to access whole information about DateTime which is stored in the database. So my suggestion is to start outputting DateTime fields in admin interface with tooltip containing whole precise time such as:
{{{
<div class=""readonly"" title=""Jan. 4, 2023, 4:22:30.123 p.m."">Jan. 4, 2023, 4:22 p.m.</div>
}}}"	New feature	closed	contrib.admin	4.1	Normal	wontfix		Carlton Gibson	Unreviewed	0	0	0	0	0	1
