Django

Code

Ticket #3014 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Reported by: esdrasbeleza Assigned to: adrian
Milestone: Component: django.contrib.admin
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

time_with_seconds.diff (3.6 kB) - added by Esdras Beleza <linux@esdrasbeleza.com> on 11/12/06 11:33:57.
update time field's seconds too.

Change History

11/12/06 11:33:57 changed by Esdras Beleza <linux@esdrasbeleza.com>

  • attachment time_with_seconds.diff added.

update time field's seconds too.

11/20/06 10:23:48 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #3014 ([PATCH] "Now" link in time fields at Django Admin updates seconds too)




Change Properties
Action