expo-localization
Advanced tools
Comparing version 15.0.0 to 15.0.1
@@ -19,5 +19,5 @@ import { Subscription } from 'expo-modules-core'; | ||
getCalendars(): Calendar[]; | ||
getLocalizationAsync(): Promise<Omit<Localization, "getCalendars" | "getLocales">>; | ||
getLocalizationAsync(): Promise<Omit<Localization, 'getCalendars' | 'getLocales'>>; | ||
}; | ||
export default _default; | ||
//# sourceMappingURL=ExpoLocalization.d.ts.map |
@@ -142,3 +142,3 @@ /* eslint-env browser */ | ||
timeZone: locale?.timeZone || locale?.timeZones?.[0] || null, | ||
uses24hourClock: (locale?.hourCycle || locale?.hourCycles?.[0])?.startsWith('h2') ?? null, //https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/hourCycle | ||
uses24hourClock: (locale?.hourCycle || locale?.hourCycles?.[0])?.startsWith('h2') ?? null, | ||
firstWeekday: locale?.weekInfo?.firstDay || null, | ||
@@ -145,0 +145,0 @@ }, |
@@ -13,2 +13,6 @@ # Changelog | ||
## 15.0.1 — 2024-04-23 | ||
_This version does not introduce any user-facing changes._ | ||
## 15.0.0 — 2024-04-18 | ||
@@ -15,0 +19,0 @@ |
{ | ||
"name": "expo-localization", | ||
"version": "15.0.0", | ||
"version": "15.0.1", | ||
"description": "Provides an interface for native user localization information.", | ||
@@ -50,3 +50,3 @@ "main": "build/Localization.js", | ||
}, | ||
"gitHead": "4165b8d72e1b9a1889c2767534cc619e21468110" | ||
"gitHead": "ee4f30ef3b5fa567ad1bf94794197f7683fdd481" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
130247