Hello, I had a slight problem with the DATE template filter - it incorrectly truncates localized (in my case to 'cs-cz' locale) week names when I wanted to get 3-char week day name - utf-8 characters got broken "at half". A small fix for that solved the problem:
--- django/utils/dateformat.py (revision 4274) +++ django/utils/dateformat.py (working copy) @@ -116,7 +116,7 @@ def D(self): "Day of the week, textual, 3 letters; e.g. 'Fri'" - return WEEKDAYS[self.data.weekday()][0:3] + return WEEKDAYS[self.data.weekday()].decode('utf-8')[0:3].encode('utf-8') def F(self): "Month, textual, long; e.g. 'January'" Something similar was discussed in "To Truncate a Word to # of chars", http://groups.google.com/group/django-users/browse_thread/thread/ace40ec28945c0c4 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---