Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasJang committed Apr 25, 2017
2 parents a34423b + ca70a76 commit 85dbf5b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ax5core/test/test.core.date.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ describe('ax5.util.date TEST', function () {

//Usage 07
it('ax5.util.date("")', function () {
var date = new Date(1981, 1, 22);
date.setHours(9);
should.deepEqual(ax5.util.date("1981-02-22T09:00:00+09:00"), date);
var date = new Date();
date.setUTCFullYear(1979, 11, 16);
date.setUTCHours(09, 00, 00, 000);
should.deepEqual(ax5.util.date("1979-12-16T09:00:00"), date);
});

//Usage 08
Expand Down

0 comments on commit 85dbf5b

Please sign in to comment.