Moment: Remove obsolete sod/eod function (Since 2.1.0)

This commit is contained in:
benfo
2013-07-16 05:24:48 +02:00
parent 17f058521f
commit 875e949f45
2 changed files with 0 additions and 5 deletions
-2
View File
@@ -86,9 +86,7 @@ var getDay: number = moment().day();
var getMonth: number = moment().month();
var getYear: number = moment().year();
moment().sod();
moment().hours(0).minutes(0).seconds(0).milliseconds(0);
moment().eod();
var a3 = moment([2011, 0, 1, 8]);
a3.hours();
-3
View File
@@ -94,9 +94,6 @@ interface Moment {
milliseconds(ms: number): Moment;
milliseconds(): number;
sod(): Moment; // Start of Day
eod(): Moment; // End of Day
from(f: Moment): string;
from(f: Moment, suffix: boolean): string;
from(d: Date): string;