bzr revid: xmo@openerp.com-20110812121127-m50vupb36bv0tnjy
This commit is contained in:
Xavier Morel 2011-08-12 14:11:27 +02:00
parent d6074e6619
commit 964ae3f196
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ openerp.base.parse_time = function(str) {
*/
var zpad = function(str, size) {
str = "" + str;
return new Array(size - str.length).join('0') + str;
return new Array(size - str.length + 1).join('0') + str;
};
/**