Skip to content

Commit

Permalink
Added test for microsecond support
Browse files Browse the repository at this point in the history
  • Loading branch information
rmm5t committed Aug 30, 2010
1 parent 05abe2b commit 938ea3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/index.html
Expand Up @@ -92,6 +92,7 @@ <h2>Parsing</h2>
<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>
Expand Down Expand Up @@ -318,6 +319,10 @@ <h2>Settings</h2>
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 () {
Expand Down

0 comments on commit 938ea3f

Please sign in to comment.