forked from 0x2620/oxjs
update map (for arctic/antartic results)
This commit is contained in:
parent
8acccb5cd1
commit
23c50a1d01
2 changed files with 14 additions and 6 deletions
|
|
@ -2388,8 +2388,8 @@ Ox.formatDateRange = function(start, end, utc) {
|
|||
/*@
|
||||
Ox.formatDateRangeDuration <f> Formats the duration of a date range as a string
|
||||
A date range is a pair of arbitrary-presicion date strings
|
||||
> Ox.formatDateRangeDuration('2000-01-01 00:00:00', '2001-01-03 03:04:05')
|
||||
'1 year 2 days 3 hours 4 minutes 5 seconds'
|
||||
> Ox.formatDateRangeDuration('2000-01-01 00:00:00', '2001-03-04 04:05:06')
|
||||
'1 year 2 months 3 days 4 hours 5 minutes 6 seconds'
|
||||
> Ox.formatDateRangeDuration('1999', '2000', true)
|
||||
'1 year'
|
||||
> Ox.formatDateRangeDuration('2000', '2001', true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue