Opened 11 years ago

Closed 11 years ago

#4313 closed (fixed)

unicode-branch - date and time filters doesn't work with non-ascii string

Reported by: anonymous Owned by: Malcolm Tredinnick
Component: Internationalization Version: other branch
Severity: Keywords: unicode-branch, filters
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


UnicodeEncodeError is thrown if an datetime filter is used with non-ascii string. This problem can be solved by the attached patch.

Simple test:

{% now "F" %}

Attachments (1)

unicode-dateformat.diff (850 bytes) - added by anonymous 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by anonymous

Attachment: unicode-dateformat.diff added

comment:1 Changed 11 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [5267]) unicode: Fixed #4313 -- fixed a problem with unicode strings and datetime
format filters.

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