From 7dd06c6d3e4d26b2b6e5f4b137dbfee1a0dd6be0 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 11 Jun 2012 10:55:10 +0200 Subject: [PATCH] add test for #522 --- source/Ox/js/Format.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Ox/js/Format.js b/source/Ox/js/Format.js index dfbe46f5..3e31b9a1 100644 --- a/source/Ox/js/Format.js +++ b/source/Ox/js/Format.js @@ -502,6 +502,8 @@ Ox.formatDuration Formats a duration as a string '01:00:00.00' > Ox.formatDuration(3599.999, 3) '00:59:59.999' + > Ox.formatDuration(1640673) + '18:23:44:31' > Ox.formatDuration(3599.999, 'short') '1h' > Ox.formatDuration(3599.999, 3, 'short')