From e7c8563bed206d4c9f84194ad96cea40be06c13a Mon Sep 17 00:00:00 2001 From: KhodeN Date: Wed, 30 Oct 2013 17:33:55 +1100 Subject: [PATCH] Update sugar.d.ts: fix 'short', 'long', 'full' methods of Date Those methods support optional locale argument. --- sugar/sugar.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sugar/sugar.d.ts b/sugar/sugar.d.ts index 98a5c7705..2552d533f 100644 --- a/sugar/sugar.d.ts +++ b/sugar/sugar.d.ts @@ -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]