How to convert date-time string in the form (yyyymmddhhss) to dd/mm/yyyy in Javascript?

后端 未结 0 1100
梦毁少年i
梦毁少年i 2020-11-27 15:17

I am consuming an API that returns a date-time field in form of a string YYYYMMDDHHMMSS.
For the sake of readability for the users who need to see it in a readable form

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