Opened 17 years ago

Closed 17 years ago

#3918 closed (fixed)

Incorrect date/time display in admin/change history when USE_I18N = False

Reported by: Manuel Owned by: Malcolm Tredinnick
Component: Internationalization Version: dev
Severity: Keywords: i18n admin date time
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In Admin/Change history Date/time is not displayed correctly when USE_I18N is set to False in settings.py

See also forum.webfaction.com/viewtopic.php?pid=1850

Change History (4)

comment:1 by Simon G. <dev@…>, 17 years ago

Triage Stage: UnreviewedAccepted

Confirmed as of r4921. Turning on USE_I18N makes it display properly. The problem is on line 26 in ../admin/templates/admin/object_history.html:

<th scope="row">{{ action.action_time|date:_("DATE_WITH_TIME_FULL") }}</th>

comment:2 by Malcolm Tredinnick, 17 years ago

Owner: changed from Adrian Holovaty to Malcolm Tredinnick

comment:3 by Malcolm Tredinnick, 17 years ago

Component: Admin interfaceInternationalization

comment:4 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [4931]) Fixed #3918 -- Handle technical message IDs correctly when settings.USE_I18N is
False.

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