MCPcopy Create free account
hub / github.com/adobe/react-spectrum / updateCalendar

Function updateCalendar

packages/dev/s2-docs/src/VisualExampleClient.tsx:1304–1309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1302 };
1303
1304 let updateCalendar = calendar => {
1305 let newLocale = new Intl.Locale(value, {
1306 calendar
1307 });
1308 onChange(newLocale.toString());
1309 };
1310
1311 let updateNumberingSystem = numberingSystem => {
1312 let newLocale = new Intl.Locale(value, {

Callers

nothing calls this directly

Calls 2

onChangeFunction · 0.70
toStringMethod · 0.65

Tested by

no test coverage detected