@dialstack/sdk / index / FormattingOptions
Interface: FormattingOptions
Defined in: sdk/src/types/components.ts:312
Formatting options for components
Properties
dateLocale?
optional dateLocale?: string;
Defined in: sdk/src/types/components.ts:323
Locale for date/time formatting (BCP 47 language tag)
Default
'en-US'
defaultCountry?
optional defaultCountry?: string;
Defined in: sdk/src/types/components.ts:317
Default country code for phone number formatting (ISO 3166-1 alpha-2)
Default
'US'
showTimezone?
optional showTimezone?: boolean;
Defined in: sdk/src/types/components.ts:335
Show timezone in date/time display
Default
true
use24HourTime?
optional use24HourTime?: boolean;
Defined in: sdk/src/types/components.ts:329
Use 24-hour time format
Default
false