Opened 18 years ago

Closed 18 years ago

#3014 closed enhancement (fixed)

[PATCH] "Now" link in time fields at Django Admin updates seconds too

Reported by: esdrasbeleza Owned by: Adrian Holovaty
Component: contrib.admin Version: dev
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When I use the Now link at Django Admin when using datetime fields, it doesn't update the seconds. It's not a good thing for sites where ordering seconds matters, like news sections. I hacked some JavaScript files and now seconds are updated too.

Attachments (1)

time_with_seconds.diff (3.6 KB ) - added by Esdras Beleza <linux@…> 18 years ago.
update time field's seconds too.

Download all attachments as: .zip

Change History (2)

by Esdras Beleza <linux@…>, 18 years ago

Attachment: time_with_seconds.diff added

update time field's seconds too.

comment:1 by Adrian Holovaty, 18 years ago

Resolution: fixed
Status: newclosed

(In [4087]) Fixed #3014 -- Admin 'now' shortcut for DateTimeFields now updates seconds, too. Thanks for the patch, Esdras Beleza

Note: See TracTickets for help on using tickets.
Back to Top