#8550 closed (duplicate)
date filter can't right work in object_history.html.
Reported by: | soldier | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Keywords: | DATETIME_FORMAT | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
object_history.html:30
<th scope="row">{{ action.action_time|date:_("DATETIME_FORMAT") }}</th>
_("DATETIME_FORMAT") translate in the zh_CN/LC_MESSAGE/django.po
msgid "DATETIME_FORMAT"
msgstr "DATETIME_FORMAT"
so the date filter is
date:"DATETIME_FORMAT"
it would be showed in browser at last :
SunPM中国标准时间E中国标准时间0八月E_八月+0800R八月PM中国标准时间
Note:
See TracTickets
for help on using tickets.
This is essentially a duplicate of #8541 -- both tickets are saying that the technical message IDs are translated incorrectly for Chinese. Closing as a duplicate.