Commit graph

75 commits

Author SHA1 Message Date
rlx
0b7beec62d off by one in formatISBN 2016-01-11 18:47:14 +05:30
rlx
8a96a0a095 update formatISBN 2016-01-11 15:15:12 +05:30
rlx
598e676458 fix doc comment 2016-01-11 14:54:28 +05:30
rlx
df32ec9ebc add Ox.formatISBN 2016-01-11 14:51:31 +05:30
j
9deffcfee2 revert r3694, undefined values should not return emtpy string 2015-05-23 15:01:20 +05:30
j
a7ea1a0c46 Ox.formatResolution: return empty string if array is undefined 2015-05-23 14:23:23 +05:30
j
d196176c91 srt must end with a newline 2014-11-11 14:34:52 +01:00
j
4a354aa59e srt newlines are \r\n; add utf-8 BOM, fixes #2556 2014-11-11 14:27:01 +01:00
j
50b344321e srt timestamps must include milliseconds, fixes #2550 2014-11-10 11:49:00 +01:00
rlx
ceca50ae59 add Ox.formatSRT 2014-09-18 16:42:19 +02:00
j
37d9424ec8 only call date function if needed in Ox.formatDate 2014-02-02 08:59:45 +00:00
rolux
3d33a16668 fix Ox.formatDimensions 2014-01-16 07:55:14 +00:00
rolux
e7415059f0 formatDuration: use Math.abs(seconds) 2013-07-24 16:04:59 +02:00
rlx
e2be60c762 fix Ox.formatString 2013-07-22 17:49:50 +00:00
rolux
03850ee600 fix syntax error and add missing space in test results (formatDate, localized dates) 2013-05-25 14:23:12 +02:00
rolux
b68b827d7b add Locale.js, update Format.js 2013-05-09 15:12:26 +02:00
rlx
f34d70fd4c Ox.formatString: support '{a.b.c}' access to nested object properties 2013-03-05 06:06:58 +00:00
rolux
6d5b254a94 in Ox.formatOrdinal, add thousand separators 2013-01-01 15:05:35 +01:00
rolux
34cef100ad remove some brackets 2012-11-14 15:16:49 +01:00
rolux
666815f566 update inline test 2012-11-14 15:12:08 +01:00
rolux
48f2c4f9ee add Ox.formatCount 2012-11-14 15:10:04 +01:00
rolux
bda90f6b6b remove Ox.Break 2012-07-05 10:58:08 +02:00
rolux
487ee4626d update Ox.formatUnit 2012-07-02 16:19:36 +02:00
rolux
bbf72ab0c7 Ox.formatRoman: add test 2012-06-20 12:03:10 +02:00
rolux
c68af487c5 typo 2012-06-20 12:02:04 +02:00
rolux
35df921fcd Ox.formatRoman: add tests 2012-06-20 12:01:32 +02:00
rolux
14d57f70bb add Ox.formatRoman 2012-06-20 11:57:22 +02:00
rolux
9ef4bdd0c1 avoid loop 2012-06-18 09:14:45 +02:00
rolux
8bc8c57373 use base 10 in parseInt, use Math.floor for numbers 2012-06-13 10:28:21 +02:00
rolux
e415a85d06 update test 2012-06-12 17:57:20 +02:00
rolux
3c9c1cc4ed fix #522: correctly pad days in Ox.formatDuration 2012-06-11 13:40:28 +02:00
j
7dd06c6d3e add test for #522 2012-06-11 10:55:10 +02:00
rlx
26681d7e39 Ox.formatDateRangeDuration: avoid infinite loop when passing a start date that cannot be parsed 2012-06-10 10:27:06 +00:00
rolux
fbe2513cb4 remove 'factor' argument from Ox.formatUnit 2012-06-04 12:41:40 +02:00
rolux
a5c6747b57 change the signature of Ox.pad to match Ox.truncate 2012-06-04 11:08:38 +02:00
rolux
43558a55a3 minor changes 2012-06-02 17:00:44 +02:00
rolux
b4bb926c0c move Ox.parseDuration to String.js 2012-05-27 16:53:23 +02:00
rolux
4b8c1a7d6b Ox.formatDate: better tests for '%s' and '%+', fix '%s', '%Z' and '%z' 2012-05-27 15:01:22 +02:00
rolux
12ed2c93fc fix #799: use '(function() {}())', not '(function() {})()' 2012-05-26 14:38:45 +02:00
j
eb9cd1e397 IE fixes 2012-05-25 16:28:05 +00:00
rolux
84050d67a3 rename vars 2012-05-25 13:32:57 +02:00
rolux
2dbb61c103 rename vars; in Ox.formatDimensions, use multiplication sign; more efficient version of Ox.parseDuration 2012-05-25 12:19:04 +02:00
rolux
a37949094d rename vars; more efficient version of Ox.formatDate 2012-05-25 12:08:20 +02:00
rolux
61bb1c3598 typo; fix a test 2012-05-25 09:33:34 +02:00
rolux
544e117cb3 Ox.break -> Ox.Break 2012-05-24 19:20:29 +02:00
rolux
1608664bb6 rather use ''.slice than ''.substr 2012-05-24 11:47:33 +02:00
j
f97352ee61 fix use of Ox.map, Ox.loop 2012-05-23 17:13:38 +02:00
j
601a29023a minor changes 2012-05-22 19:51:07 +02:00
rolux
12cf77cef5 less obscure Ox.map 2012-05-22 16:29:37 +02:00
rolux
04784630d3 use Ox.break 2012-05-22 09:11:26 +02:00