File tree 2 files changed +38
-24
lines changed
2 files changed +38
-24
lines changed Original file line number Diff line number Diff line change @@ -4318,19 +4318,26 @@ declare namespace Intl {
4318
4318
} ;
4319
4319
4320
4320
interface DateTimeFormatOptions {
4321
- localeMatcher ?: string ;
4322
- weekday ?: string ;
4323
- era ?: string ;
4324
- year ?: string ;
4325
- month ?: string ;
4326
- day ?: string ;
4327
- hour ?: string ;
4328
- minute ?: string ;
4329
- second ?: string ;
4330
- timeZoneName ?: string ;
4331
- formatMatcher ?: string ;
4332
- hour12 ?: boolean ;
4321
+ dateStyle ?: "full" | "long" | "medium" | "short" ;
4322
+ timeStyle ?: "full" | "long" | "medium" | "short" ;
4323
+ calendar ?: "buddhist" | "chinese" | " coptic" | "ethiopia" | "ethiopic" | "gregory" | " hebrew" | "indian" | "islamic" | "iso8601" | " japanese" | "persian" | "roc" ;
4324
+ dayPeriod ?: "narrow" | "short" | " long" ;
4325
+ numberingSystem ?: "arab" | "arabext" | " bali" | "beng" | "deva" | "fullwide" | " gujr" | "guru" | "hanidec" | "khmr" | " knda" | "laoo" | "latn" | "limb" | "mlym" | " mong" | "mymr" | "orya" | "tamldec" | " telu" | "thai" | "tibt" ;
4326
+ localeMatcher ?: "best fit" | "lookup" ;
4333
4327
timeZone ?: string ;
4328
+ hour12 ?: boolean ;
4329
+ hourCycle ?: "h11" | "h12" | "h23" | "h24" ;
4330
+ formatMatcher ?: "best fit" | "basic" ;
4331
+ weekday ?: "long" | "short" | "narrow" ;
4332
+ era ?: "long" | "short" | "narrow" ;
4333
+ year ?: "numeric" | "2-digit" ;
4334
+ month ?: "numeric" | "2-digit" | "long" | "short" | "narrow" ;
4335
+ day ?: "numeric" | "2-digit" ;
4336
+ hour ?: "numeric" | "2-digit" ;
4337
+ minute ?: "numeric" | "2-digit" ;
4338
+ second ?: "numeric" | "2-digit" ;
4339
+ fractionalSecondDigits ?: 0 | 1 | 2 | 3 ;
4340
+ timeZoneName ?: "long" | "short" ;
4334
4341
}
4335
4342
4336
4343
interface ResolvedDateTimeFormatOptions {
Original file line number Diff line number Diff line change @@ -3938,19 +3938,26 @@ declare module Intl {
3938
3938
}
3939
3939
3940
3940
interface DateTimeFormatOptions {
3941
- localeMatcher?: string;
3942
- weekday?: string;
3943
- era?: string;
3944
- year?: string;
3945
- month?: string;
3946
- day?: string;
3947
- hour?: string;
3948
- minute?: string;
3949
- second?: string;
3950
- timeZoneName?: string;
3951
- formatMatcher?: string;
3952
- hour12?: boolean;
3941
+ dateStyle?: "full" | "long" | "medium" | "short";
3942
+ timeStyle?: "full" | "long" | "medium" | "short";
3943
+ calendar?: "buddhist" | "chinese" | " coptic" | "ethiopia" | "ethiopic" | "gregory" | " hebrew" | "indian" | "islamic" | "iso8601" | " japanese" | "persian" | "roc";
3944
+ dayPeriod?: "narrow" | "short" | " long";
3945
+ numberingSystem?: "arab" | "arabext" | " bali" | "beng" | "deva" | "fullwide" | " gujr" | "guru" | "hanidec" | "khmr" | " knda" | "laoo" | "latn" | "limb" | "mlym" | " mong" | "mymr" | "orya" | "tamldec" | " telu" | "thai" | "tibt";
3946
+ localeMatcher?: "best fit" | "lookup";
3953
3947
timeZone?: string;
3948
+ hour12?: boolean;
3949
+ hourCycle?: "h11" | "h12" | "h23" | "h24";
3950
+ formatMatcher?: "best fit" | "basic";
3951
+ weekday?: "long" | "short" | "narrow";
3952
+ era?: "long" | "short" | "narrow";
3953
+ year?: "numeric" | "2-digit";
3954
+ month?: "numeric" | "2-digit" |"long" | "short" | "narrow";
3955
+ day?: "numeric" | "2-digit";
3956
+ hour?: "numeric" | "2-digit";
3957
+ minute?: "numeric" | "2-digit";
3958
+ second?: "numeric" | "2-digit";
3959
+ fractionalSecondDigits?: 0 | 1 | 2 | 3;
3960
+ timeZoneName?: "long" | "short";
3954
3961
}
3955
3962
3956
3963
interface ResolvedDateTimeFormatOptions {
You can’t perform that action at this time.
0 commit comments