Update sugar.d.ts: fix 'short', 'long', 'full' methods of Date

Those methods support optional locale argument.
This commit is contained in:
KhodeN
2013-10-30 17:33:55 +11:00
parent 1bb113b03e
commit e7c8563bed
+3 -3
View File
@@ -4392,9 +4392,9 @@ interface Date {
* }); -> ex. 1 day ago
**/
format(format: string, locale?: string): string;
short(): string;
long(): string;
full(): string;
short(locale?: string): string;
long(locale?: string): string;
full(locale?: string): string;
/**
* Returns a string representation of the offset from UTC time. If [iso]