【发布时间】:2018-11-13 15:13:56
【问题描述】:
我在 Html 中:
<input type="datetime-local" step=1 ng-model="end_date" required />
在代码中(angularJs)
$scope.end_date = new Date('2018-11-10 10:11:15');
无论我做什么,输出都是“2018-11-10 10:11:00”。 我真的需要几秒钟。 我能做什么?
谢谢。
【问题讨论】: