How to convert a Hour:Minute string into a (date-fns) date so that minutes can be added?

前端 未结 0 364
长发绾君心
长发绾君心 2020-12-03 09:48

I have the following string: 15:00.

I would like to add 20 minutes to it, so the result would be 15:20.

I know I need to convert it t

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