Casting dates properly from an API response in typescript

前端 未结 0 1818
北荒
北荒 2021-01-13 04:31

I have a REST API that gives data in the following format:-

{"id": 1, "name": "New event", "date": "2020-11-14T18:0

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