You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Intl.DateTimeFormat constructor with default (undefined) fails even though the parameter is optional const formatter = new Intl.DateTimeFormat(undefined, options);
The issue is reproducible with the latest version of RNW 0.73.7.
Hermes git revision (if applicable):
React Native version: 0.73.7
OS: Windows 11
Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64):
Bug Description
Using the Intl.DateTimeFormat constructor with default (undefined) fails even though the parameter is optional
const formatter = new Intl.DateTimeFormat(undefined, options);
Hermes git revision (if applicable):
React Native version: 0.73.7
OS: Windows 11
Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64):
Steps To Reproduce
formatter = new Intl.DateTimeFormat(undefined, options);
to format any date and display the textcode example:
const formatter = new Intl.DateTimeFormat(undefined, options);
The Expected Behavior
Formatted date, no crash.
The text was updated successfully, but these errors were encountered: