这些是会议记录: 1956
我想将这些分钟格式设置为: HH:mm
我正在使用angular2-moment。
我试过了:1956 | amDuration:'minutes' | amDateFormat: 'HH:mm'
但我得到的是“无效日期”
我要怎么做才能让它工作呢?
发布于 2017-07-09 19:10:46
moment.duration(1956, "minutes").format("h [hrs], m [min]");
// "32 hrs, 36 min"发布于 2020-04-24 09:25:20
countdown = 600;
{{ (countdown | amFromUnix) | amDateFormat: 'mm:ss' }}
//Output 10:00https://stackoverflow.com/questions/44995147
复制相似问题