This is a migrated thread and some comments may be shown as answers.

Entering 2 shows 1 in Angular2 DatePicker component

3 Answers 62 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Nikolay
Top achievements
Rank 1
Nikolay asked on 25 Jul 2017, 06:40 AM
When we start entering the year first in Angular2 DatePicker component, the picker is displayed the entered value decreased with 1.For example, if I enter 2, 1 is displayed.

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 26 Jul 2017, 12:24 PM
Hello Nikolay,

Indeed, the component incorrectly accepts typed year when format starts with 'yyyy'. The issue is logged in our Github repo.

https://github.com/telerik/kendo-angular/issues/764

We will update it once the issue is fixed. Its priority is high, hence it should be addressed soon. I would suggest you subscribe to the thread to be notified when any changes are done.

Regards,
Georgi Krustev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Fredrik
Top achievements
Rank 1
answered on 26 Oct 2017, 01:53 PM

Hello!

This is still an issue for us and can also be reproduced in the datepicker example Plunker by setting [format]="'MM/dd/yyyy'"  and public value: Date = null;. Clicking on the "yyyy" and pressing 2 sets the year to 1.

I hope a fix is coming soon for "yyyy-MM-dd" as we need a reliable datepicker ASAP in one of our applications.

Any E.T.A. for a fixed version?

0
Georgi Krustev
Telerik team
answered on 27 Oct 2017, 02:32 PM
Hello Fredrik,

The bug was just fixed and is under review right now. Most probably it and several other improvements of DateInputs package will be released under @dev tag early next week. Follow the Github issue, as it will be updated right after publishing the DEV release.

Regards,
Georgi Krustev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Date/Time Pickers
Asked by
Nikolay
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Fredrik
Top achievements
Rank 1
Share this question
or