Skip to content

Commit

Permalink
Merge pull request #32 from nomiddlename/update-test
Browse files Browse the repository at this point in the history
test: have a test case for timezone with colon
  • Loading branch information
lamweili committed Jan 11, 2022
2 parents 1083128 + 193b161 commit d2acf0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parse-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ describe("dateFormat.parse", function() {
verifyDate(date, { hours: 7, minutes: 23 });
});

it("works with hh:mm O (+0930)", function() {
var date = dateFormat.parse("hh:mm O", "05:23 +0930");
it("works with hh:mm O (+09:30)", function() {
var date = dateFormat.parse("hh:mm O", "05:23 +09:30");
verifyDate(date, { hours: 19, minutes: 53 });
});
});
Expand Down

0 comments on commit d2acf0a

Please sign in to comment.