Open TobinXu opened 6 months ago
Describe the bug
"dayjs": "^1.11.10" when i use .tz("Asia/Shanghai") to format the date, i got a error answer '2024.04.22' on android phone but correct on ios phone, thats crazy! maybe the dayjs ignore the date's timezone info,
Expected behavior
get the correct '2024.04.22'
Information
Day.js supports time zone via the Internationalization API in supported environments
https://day.js.org/docs/zh-CN/timezone/timezone
Describe the bug
"dayjs": "^1.11.10" when i use .tz("Asia/Shanghai") to format the date, i got a error answer '2024.04.22' on android phone but correct on ios phone, thats crazy! maybe the dayjs ignore the date's timezone info,
Expected behavior
get the correct '2024.04.22'
Information