diff options
Diffstat (limited to 'pym/portage/glsa.py')
-rw-r--r-- | pym/portage/glsa.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/glsa.py b/pym/portage/glsa.py index 6dc73ac67..95c3c813c 100644 --- a/pym/portage/glsa.py +++ b/pym/portage/glsa.py @@ -404,7 +404,8 @@ def format_date(datestr): return datestr # TODO We could format to local date format '%x' here? - return d.strftime("%B %d, %Y") + return _unicode_decode(d.strftime("%B %d, %Y"), + encoding=_encodings['content'], errors='replace') # simple Exception classes to catch specific errors class GlsaTypeException(Exception): |