forked from 0x2620/oxjs
use base 10 in parseInt, use Math.floor for numbers
This commit is contained in:
parent
79bb322112
commit
8bc8c57373
19 changed files with 44 additions and 45 deletions
|
|
@ -341,7 +341,7 @@ Ox.formatDateRange = function(start, end, utc) {
|
|||
);
|
||||
parts.shift();
|
||||
return parts.map(function(part) {
|
||||
return parseInt(part);
|
||||
return parseInt(part, 10);
|
||||
});
|
||||
}),
|
||||
precision = parts.map(function(parts) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue