Is there a datepicker which we can use with Angular 2 RC1
I can see ng2-datepicker is using angular2 RC1 but while installing it's looking for Angular 2 Beta.
Any Help.
Thanks in Advance
Is there a datepicker which we can use with Angular 2 RC1
I can see ng2-datepicker is using angular2 RC1 but while installing it's looking for Angular 2 Beta.
Any Help.
Thanks in Advance
Have a look here, using angular2 RC.1
see also :
Try Calendar control from primeNG. This gives you any format of date & time.
Sample implementation looks like below-
Update package.json
"primeng": "^1.0.0-beta.7", "primeui": "^4.1.10",
import Calendar from primeNG
import { Calendar } from 'primeng/primeng';
Declare it in directives
directives: [Calendar]
Use it in Component template
p-calendar [(ngModel)]="date1" dateFormat="mm/dd/yy" timeFormat="HH:mm">
You can find more format examples on - http://www.primefaces.org/primeng/#/calendar