forked from 0x2620/oxjs
'use strict';
This commit is contained in:
parent
291b75c43b
commit
56370aa0a7
113 changed files with 207 additions and 15 deletions
|
|
@ -1,3 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.formatArea <f> Formats a number of meters as square meters or kilometers
|
||||
> Ox.formatArea(1000)
|
||||
|
|
@ -268,7 +270,6 @@ Ox.formatDateRange = function(start, end, utc) {
|
|||
if (isOneUnit) {
|
||||
strings = [Ox.formatDate(dates[0], formats[precision[0] - 1], utc)];
|
||||
} else {
|
||||
format = formats[precision[0] - 1];
|
||||
strings = [
|
||||
Ox.formatDate(dates[0], formats[precision[0] - 1], utc),
|
||||
Ox.formatDate(dates[1], formats[precision[1] - 1], utc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue