avoid loop
This commit is contained in:
parent
d2e05200da
commit
9ef4bdd0c1
1 changed files with 2 additions and 4 deletions
|
@ -397,10 +397,8 @@ Ox.formatDateRange = function(start, end, utc) {
|
||||||
strings[1] = strings[1].split(', ').pop();
|
strings[1] = strings[1].split(', ').pop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return strings.map(function(string) {
|
// %e is a space-padded day
|
||||||
// %e is a space-padded day
|
return strings.join(' - ').replace(/ /g, ' ');
|
||||||
return string.replace(' ', ' ');
|
|
||||||
}).join(' - ');
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
|
|
Loading…
Add table
Reference in a new issue