Opened 16 years ago

Closed 16 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


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@…> 16 years ago.
update time field's seconds too.

Download all attachments as: .zip

Change History (2)

Changed 16 years ago by Esdras Beleza <linux@…>

Attachment: time_with_seconds.diff added

update time field's seconds too.

comment:1 Changed 16 years ago by Adrian Holovaty

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