From 875e949f45acc3860f38a92f65ce514618cc8ffa Mon Sep 17 00:00:00 2001 From: benfo Date: Tue, 16 Jul 2013 05:24:48 +0200 Subject: [PATCH] Moment: Remove obsolete sod/eod function (Since 2.1.0) --- moment/moment-tests.ts | 2 -- moment/moment.d.ts | 3 --- 2 files changed, 5 deletions(-) diff --git a/moment/moment-tests.ts b/moment/moment-tests.ts index 5d77aa3d3..056620ada 100644 --- a/moment/moment-tests.ts +++ b/moment/moment-tests.ts @@ -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(); diff --git a/moment/moment.d.ts b/moment/moment.d.ts index 900c686fa..6a46739ba 100644 --- a/moment/moment.d.ts +++ b/moment/moment.d.ts @@ -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;