how to get hours from moment.js obj

前端 未结 0 585
清歌不尽
清歌不尽 2020-12-07 02:19

How do I get the hour and minutes from $selected_date to use in flatpickr?

$selected_date = new moment("{{ form.instance.scheduled_at|date:"M j g:i          


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