You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib/intl.d.ts
+30-2Lines changed: 30 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,7 @@ declare module Intl {
88
88
timeZoneName?: string;
89
89
formatMatcher?: string;
90
90
hour12?: boolean;
91
+
timeZone?: string;
91
92
}
92
93
93
94
interfaceResolvedDateTimeFormatOptions{
@@ -157,17 +158,44 @@ interface Number {
157
158
158
159
interfaceDate{
159
160
/**
160
-
* Converts a date to a string by using the current or specified locale.
161
+
* Converts a date and time to a string by using the current or specified locale.
161
162
* @param locales An array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
162
163
* @param options An object that contains one or more properties that specify comparison options.
* Converts a date to a string by using the current or specified locale.
168
+
* @param locales An array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
169
+
* @param options An object that contains one or more properties that specify comparison options.
0 commit comments