Open
Description
const a = dayjs(new Date(1384775720)).tz("America/Toronto").format("HH:mm:ss");
const b = dayjs(new Date(1384775720)).tz("Asia/Shanghai").format("HH:mm:ss");
Put the above code into the nodejs running environment. It shows:
{ a: '19:39:35', b: '08:39:35' }
And put it into expo app(https://expo.dev/)
it shows:
00:39:35

Here's my minimal reproduction
https://github.com/SteveYuOWO/expo-dayjs-reproduction
Metadata
Metadata
Assignees
Labels
No labels