`Intl.DateTimeFormat` ignores the options object on Android 6.0 and lower (API 21-23)
- Dominant language
- JavaScript
- Stars
- 11.3k
- Forks
- 859
- Avg merge
- 1h 30m
- Merged PRs (30d)
- 3
Description
## Bug Description
The following code:
```javascript
console.log(
new Intl.DateTimeFormat("en-US", { weekday: "short" })
.format(new Date("2022-07-14"))
);
```
produces:
`"Thursday, July 14, 2022 12:00:00 AM GMT+00:00"`
instead of the expected:
`"Thu"`
on Android API 21-23 emulators; it's seems like the options object is ignored entirely.
On Android API 24+ this behaves as expected.
I've checked the document at
https://hermesengine.dev/docs/intl/
but couldn't find anything that would indicate that this is expected or cannot be implemented correctly.
- [X] I have run `gradle clean` and confirmed this bug does not occur with JSC
Hermes version: 0.11.0
React Native version (if any): 0.68.1
OS version (if any): Android 6.0 emulator
Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64): x86 or x86_64
Contributor guide
Assessment
This issue has not been assessed yet.