React native new Date() is not working as it is supposed to

后端 未结 0 684
鱼传尺愫
鱼传尺愫 2020-12-08 04:30

I have this code which shall format the given date:

  const postDate = new Date(date);

But whenever I try to use it like this:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题