Ticket #12564: admin-history-dt-fmt.diff

File admin-history-dt-fmt.diff, 691 bytes (added by Ramiro Morales, 9 years ago)
  • django/contrib/admin/templates/admin/object_history.html

    diff -r 35f6ffa01236 django/contrib/admin/templates/admin/object_history.html
    a b  
    2727        <tbody>
    2828        {% for action in action_list %}
    2929        <tr>
    30             <th scope="row">{{ action.action_time|date }}</th>
     30            <th scope="row">{{ action.action_time|date:"DATE_FORMAT" }}</th>
    3131            <td>{{ action.user.username }}{% if action.user.get_full_name %} ({{ action.user.get_full_name }}){% endif %}</td>
    3232            <td>{{ action.change_message }}</td>
    3333        </tr>
Back to Top