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: mtredinnick
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

comment:1 Changed 9 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(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