[FIX] stupid bug introduced in revision xmo@openerp.com-20110810141545-k98nvymjy5r7sslb
bzr revid: xmo@openerp.com-20110812121127-m50vupb36bv0tnjy
This commit is contained in:
parent
d6074e6619
commit
964ae3f196
|
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue