date-fns | How do I format to UTC

后端 未结 5 579
逝去的感伤
逝去的感伤 2020-12-17 10:42

Problem

It looks like when I use the format() function, it automatically convert the original UTC time into my timezone (UTC+8). I have been digging t

5条回答
提交回复
热议问题