Code

Ticket #7946: 7946.diff

File 7946.diff, 757 bytes (added by garcia_marc, 6 years ago)

patch for using existing format

Line 
1Index: contrib/admin/templates/admin/object_history.html
2===================================================================
3--- django/contrib/admin/templates/admin/object_history.html    (revision 8069)
4+++ django/contrib/admin/templates/admin/object_history.html    (working copy)
5@@ -21,7 +21,7 @@
6         <tbody>
7         {% for action in action_list %}
8         <tr>
9-            <th scope="row">{{ action.action_time|date:_("DATE_WITH_TIME_FULL") }}</th>
10+            <th scope="row">{{ action.action_time|date:_("DATETIME_FORMAT") }}</th>
11             <td>{{ action.user.username }}{% if action.user.first_name %} ({{ action.user.first_name }} {{ action.user.last_name }}){% endif %}</td>
12             <td>{{ action.change_message }}</td>
13         </tr>