Skip to content

Commit

Permalink
Make jshint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ichernev committed Mar 30, 2014
1 parent 3dd80ba commit 8ede0db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/moment/sod_eod.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ exports.end_start_of = {
} else {
mom.zone(7, keepTime);
}
}
};

m = moment("2014-03-15T00:00:00-07:00").parseZone();
m.startOf('M')
m.startOf('M');
test.equal(m.format(), "2014-03-01T00:00:00-08:00",
"startOf('month') across +1");

Expand Down Expand Up @@ -356,10 +356,10 @@ exports.end_start_of = {
} else {
mom.zone(8, keepTime);
}
}
};

m = moment("2014-11-15T00:00:00-08:00").parseZone();
m.startOf('M')
m.startOf('M');
test.equal(m.format(), "2014-11-01T00:00:00-07:00",
"startOf('month') across -1");

Expand Down

0 comments on commit 8ede0db

Please sign in to comment.