ng2-ui / datetime-picker

Angular2 DateTime Picker
https://ng2-ui.github.io/#/datetime-picker
MIT License
121 stars 62 forks source link

DateTime Picker not working on date-only="false" case #13

Closed DILEEPKUMAREBIX closed 7 years ago

DILEEPKUMAREBIX commented 8 years ago

I tried ng2-datetime-picker today, its not working properly with date-only="false" condition and its working in date-only="true"

Following i have used in my template "<input [(ngModel)]="date1" datetime-picker />" --> Not working as shown in image

<input [(ngModel)]="date1" datetime-picker date-only="false" /> --> even i set 'date-only' to false, i am getting only date picker.

issue

issue

allenhwkim commented 8 years ago

Thanks for using this module. Have you tried plnkr example working on your browser?

This is date parsing error. I don't know the cause yet. It happened on Windows environments but I made a fix. it's interesting to see it again.

DILEEPKUMAREBIX commented 8 years ago

Thanks for your response. I tried plnkr but its not working here, i just used it in my project using npm install instructions. Its working fine with date-only but facing the problem if i remove the same attribute(default date-only="false" righ?).

DILEEPKUMAREBIX commented 8 years ago

https://ng2-ui.github.io/#/datetime-picker

Here it is working fine, but i don't know why it is not working in my personal project. I gone through the code and it is failing at formatting...

allenhwkim commented 8 years ago

Rectently upgradad to RC5. https://plnkr.co/edit/A5ITtI?p=info Can you reproduce your issue with this plnkr?

DILEEPKUMAREBIX commented 8 years ago

issue

issue1

Getting like above... Please check May i know reason for problem?

allenhwkim commented 8 years ago

Please fork and save then paste the url

Sent from my iPhone

On Aug 25, 2016, at 9:07 AM, DILEEPKUMAREBIX notifications@github.com wrote:

Getting like above... Please check May i know reason for problem?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

allenhwkim commented 7 years ago

@nickthakkar please test this after you successfully build a plnkr

allenhwkim commented 7 years ago

This has been fixed with the release of 0.9.0. Please verify it is fixed and close it. If not, please let us know.

allenhwkim commented 7 years ago

Closing now. If not works, please reopen this issue.