mirror of
https://github.com/scratchfoundation/jquery-timeago.git
synced 2025-03-05 01:18:02 -05:00
Added test for microsecond support
This commit is contained in:
parent
05abe2b454
commit
938ea3fc7d
1 changed files with 5 additions and 0 deletions
|
@ -92,6 +92,7 @@
|
|||
<li><abbr id="testParsing6" class="todate" title="1978-12-19T02:17:00+0900"></abbr> [from +0900]</li>
|
||||
<li><abbr id="testParsing7" class="todate" title="1978-12-18 17:17:00"></abbr> [from blank TZ]</li>
|
||||
<li><abbr id="testParsing8" class="todate" title="1978-12-18 17:17:00.021Z"></abbr> [from Z with milliseonds]</li>
|
||||
<li><abbr id="testParsing9" class="todate" title="1978-12-18 17:17:00.021432Z"></abbr> [from Z with microseonds]</li>
|
||||
</ul>
|
||||
|
||||
<h2>Wording</h2>
|
||||
|
@ -318,6 +319,10 @@
|
|||
ok(($("#testParsing8").html().match(correctMatch)), "Correctly parsed");
|
||||
});
|
||||
|
||||
test("From Z with microseconds", function () {
|
||||
ok(($("#testParsing9").html().match(correctMatch)), "Correctly parsed");
|
||||
});
|
||||
|
||||
module("Wording");
|
||||
|
||||
test("-120 min", function () {
|
||||
|
|
Loading…
Reference in a new issue