Problem with timezones in react native
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When I try convert date to select timezone, I got 'Invalid date'.
I know that we can use polyfill from this [thread](https://github.com/iamkun/dayjs/issues/1377) but it's look terrible.
```js
console.log(dayjs('2023-07-11T10:00:00').tz('Australia/Melbourne').format('YYYY-MM-DD HH:mm'));
console.log(dayjs('2023-07-11T10:00:00').tz('Australia/Melbourne').utc().format('YYYY-MM-DD HH:mm'));
```
got:

**Expected behavior**
Timezone is working on react-native
**Information**
- Day.js Version [1.11.7]
- OS: MacOS m1
- React-native [0.71.8]
- Time zone: [not important]
Contributor guide
Assessment
This issue has not been assessed yet.