summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/search.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2014-11-20 18:16:31 +0100
committerOlivier Dony <odo@openerp.com>2014-11-20 18:16:41 +0100
commitcc762004ede6d74a272cfbdc5ee8dc582da68158 (patch)
tree04460465a83eeec137923ea516e9afbd485ddd6e /addons/web/static/src/js/search.js
parent4c550d73c878e2ff3dae725ef739db6e6f9539bd (diff)
[FIX] calendar: support non-ascii chars in date/time format
The calendar module generates string values with a date/time formatted according to the user language. Those formats may contain non-ascii characters and are read as unicode strings, but fed to str{p,t}time, which only accepts byte strings (in Python 2). This would cause an exception when loading calendar notifications for a user using e.g. Chinese with some CJK unicode chars in the date/time format.
Diffstat (limited to 'addons/web/static/src/js/search.js')
0 files changed, 0 insertions, 0 deletions