diff options
Diffstat (limited to 'debian/patches/63_date_unicode.patch')
-rw-r--r-- | debian/patches/63_date_unicode.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/63_date_unicode.patch b/debian/patches/63_date_unicode.patch new file mode 100644 index 0000000..7082577 --- /dev/null +++ b/debian/patches/63_date_unicode.patch @@ -0,0 +1,14 @@ +Fixes a bug when strftime returns UTF-8 because of the locale name. +http://bugs.debian.org/471843 + +--- a/jack~ 2008-03-21 16:03:07.000000000 +0100 ++++ b/jack 2008-03-21 16:07:00.000000000 +0100 +@@ -277,7 +277,7 @@ + jack_tag.tag(freedb_rename) + + if jack_functions.progress_changed: +- jack_functions.progress("all", "done", time.strftime("%b %2d %H:%M:%S", time.localtime(time.time()))) ++ jack_functions.progress("all", "done", unicode(time.strftime("%b %2d %H:%M:%S", time.localtime(time.time())), locale.getpreferredencoding(), "replace")) + + if cf['_remove_files']: + print "cleaning up in", os.getcwd() |