test.equal(c.hours(), 5, 'adding months over DST difference should result in the same hour');
test.done();
}
-}
\ No newline at end of file
+};
test.equal(momentA.month(), 5, "Calling moment() on a moment will create a clone");
test.done();
},
-}
\ No newline at end of file
+};
test.equal(moment([2010, 0, 1, 0, 4]).diff([2010], 'seconds'), 240, "second diff");
test.done();
}
-}
\ No newline at end of file
+};
test.equal(moment().zone(), new Date().getTimezoneOffset(), 'zone should equal getTimezoneOffset');
test.done();
}
-}
\ No newline at end of file
+};
test.equal(moment(a).day(17).date(), 26, 'set from wednesday to second next wednesday');
test.done();
}
-};
\ No newline at end of file
+};
test.equal(m.milliseconds(), 999, "set the seconds");
test.done();
}
-}
\ No newline at end of file
+};