try catch doesn't get date-fns parseISO error

后端 未结 0 1230
囚心锁ツ
囚心锁ツ 2021-01-31 03:58

there seems a simple mistake by me, I wrote this code to get a formatted date but if date dosn\'t have correct string to convert, class should catch the error but it doesn\'t wo

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