forked from 0x2620/oxjs
fix use of Ox.map, Ox.loop
This commit is contained in:
parent
9a7e86dceb
commit
f97352ee61
6 changed files with 10 additions and 10 deletions
|
|
@ -279,7 +279,7 @@ Ox.formatDateRange = function(start, end, utc) {
|
|||
if (i == precision[0] - 1 && parts[0][i] != parts[1][i] - 1) {
|
||||
isOneUnit = false;
|
||||
}
|
||||
return isOneUnit;
|
||||
!isOneUnit && Ox.break();
|
||||
});
|
||||
}
|
||||
if (isOneUnit) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue