[FIX] report: force encoding of dateformat string
authorMartin Trigaux <mat@openerp.com>
Tue, 30 Jul 2013 12:55:34 +0000 (14:55 +0200)
committerMartin Trigaux <mat@openerp.com>
Tue, 30 Jul 2013 12:55:34 +0000 (14:55 +0200)
commit6fcd169b527b9f9babc2295b0c2b5a01ea695d87
treeaf0232326812751ed7c34755e926428e4735a75b
parentcf666e2d7823147db7c487ab0a6d94d24b9d8d91
parent6c063627e60462ced084f0ec0bba6b4af403a3e4
[FIX] report: force encoding of dateformat string

some locales have unicode into the date format (eg: zh_CN uses %Y年%m月%d日)
conversion using str() would not work for them
opw #593932

bzr revid: mat@openerp.com-20130730125534-77hfb2k6z7epbhsv