2017-04-13 151 views

回答

0

使用欣欣输入属性

<p-calendar [(ngModel)]="value" showTime="showTime" hourFormat="24"></p-calendar> 
+0

提问都在谈论'p来使用JavaScript手动更改“时间表”不是关于“p日历” –

+0

感谢您的回复。但它不适合我。 Right @Pradeep,关于p-schedule。 –

0

我用momentjs这一点。 要安装的时刻:

npm install moment --save 

接下来,你可以在任何的.ts文件中使用它在导入后:

import * as moment from "moment";