Opened 9 years ago

Closed 9 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:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:


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 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by anonymous

Attachment: unicode-dateformat.diff added

comment:1 Changed 9 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