Moment: Add toISOString definition for version 2.1.0

This commit is contained in:
benfo
2013-07-16 05:31:50 +02:00
parent 875e949f45
commit acbd1e812b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -132,6 +132,7 @@ a8.diff(b8, 'years')
a8.diff(b8, 'years', true);
moment([2007, 0, 29]).toDate();
moment([2007, 1, 23]).toISOString();
moment(1318874398806).valueOf();
moment(1318874398806).unix();
moment([2000]).isLeapYear();
+1
View File
@@ -105,6 +105,7 @@ interface Moment {
diff(b: Moment, soort: string, round: boolean): number;
toDate(): Date;
toISOString(): string;
unix(): number;
isLeapYear(): boolean;