Ox.formatDuration gets days wrong #522

Closed
opened 2012-02-19 07:09:57 +00:00 by j · 0 comments
Owner

Ox.formatDuration(1640671.974243) returns 1 instead of 18 days.

Ox.formatDuration(1640671.974243, 'short')
"18d 23h 44m 32s"
Ox.formatDuration(1640671.974243)
"1:23:44:32"

should be

Ox.formatDuration(1640671.974243)
"18:23:44:32"
Ox.formatDuration(1640671.974243) returns 1 instead of 18 days. ``` Ox.formatDuration(1640671.974243, 'short') "18d 23h 44m 32s" ``` ``` Ox.formatDuration(1640671.974243) "1:23:44:32" ``` should be ``` Ox.formatDuration(1640671.974243) "18:23:44:32" ```
rlx added the
oxjs
label 2012-02-19 07:09:57 +00:00
rlx added this to the 12.02 milestone 2012-02-19 07:09:57 +00:00
rlx self-assigned this 2012-02-19 07:09:57 +00:00
rlx added the
major
defect
labels 2012-02-19 07:09:57 +00:00
rlx added the
fixed
label 2012-06-11 11:40:47 +00:00
rlx closed this issue 2012-06-11 11:40:47 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#522
No description provided.