mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Merge pull request #1202 from KhodeN/patch-2
Update sugar.d.ts: fix 'short', 'long', 'full' methods of Date
This commit is contained in:
Vendored
+3
-3
@@ -4397,9 +4397,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]
|
||||
|
||||
Reference in New Issue
Block a user