[FIX] web: format.js, toString while parsing date
authorDenis Ledoux <dle@odoo.com>
Tue, 24 Jun 2014 11:53:02 +0000 (13:53 +0200)
committerDenis Ledoux <dle@odoo.com>
Tue, 24 Jun 2014 11:53:02 +0000 (13:53 +0200)
commite2201369a314feaec70a485f0459c1dcdcecd82b
tree7974be1ca6c5312dfa051eaeac278c74bbdb4735
parent90deaf386a520df3dab7fdacf4f3470b1e1c3a27
[FIX] web: format.js, toString while parsing date

When attempting to parse client date, value is not always a string.
We force the toString when adding the leading 0, as the replace method is for string
addons/web/static/src/js/formats.js