Questions tagged [ng2-datetime]
6 questions
2
votes
1 answer
angular 2 ng2-datetime-picker shows 6 column
ng2-datetime-picker shows 6 columns, so days are invalid. Saturday is under Sunday, check image.
ng2-datetime-picker image
my code looks like this:

OttO
- 101
- 6
1
vote
0 answers
Set default "to date" in ng2 datetime "from to datepicker"
Update:
If I remove giving datepicker options from html, it works but I want to set default options like autoclose and all.
I am using https://nkalinov.github.io/ng2-datetime/ for a "from to" datepicker. I am able to set default date for the from…

RemyaJ
- 5,358
- 4
- 22
- 41
0
votes
1 answer
Can't bind to 'options' since it isn't a known property of 'div'
I am trying to implement the ng2-daterangepicker module in my application. But I am facing a property binding error in it. I don't know why?
I have imported the module into AppModule also.
At least I want to whether is this because of property…

vijay s
- 147
- 1
- 4
- 15
0
votes
4 answers
ng test fail after adding 'ng2-dateime '
I have added ng2-datetime module in my Angular 4 project.
Now problem I am facing with ng test.
Currently it throws error like below.
'Cannot find name 'jQuery'
'Cannot find name '$'
EDIT:
I did tried same way as most of answer below which is…

Nitish
- 651
- 1
- 7
- 14
0
votes
1 answer
Can anyone tell me, how to use jQuery with Angular4?
I want to user ng2-datetime in my angular project,
the setting of package.json
- {
"name": "angular2-quickstart",
"version": "1.0.0",
"scripts": {
"postinstall": "typings install",
"typings": "typings"
},
"license": "ISC",
…

جمعة المشول
- 9
- 3
0
votes
1 answer
Angular test - ng2-datetime: Uncaught TypeError: Cannot read property 'dates' of undefined
I'm using Angular-cli and also this library: ng2-datetime.
I have posted a comment pointing out this issue, but wanted to try my luck on SO aswell...
Issue:
When executing the ng-test command, I'm getting the following error message:
Chrome…

SrAxi
- 19,787
- 11
- 46
- 65