Partager via


LocaleInfo interface

Represents OS locale info used for formatting date and time data

Properties

longDate
longTime
platform
regionalFormat
shortDate
shortTime

Property Details

longDate

longDate: string

Property Value

string

longTime

longTime: string

Property Value

string

platform

platform: "windows" | "macos"

Property Value

"windows" | "macos"

regionalFormat

regionalFormat: string

Property Value

string

shortDate

shortDate: string

Property Value

string

shortTime

shortTime: string

Property Value

string