Completed
Last Updated: 15 Dec 2023 09:48 by ADMIN
ADMIN
Velin Koychev
Created on: 03 Sep 2013 10:17
Type: Feature Request
0
In Kendo Calendar controls Months are Zero-based
If we use the following code:
// Navigate to : 'http://demos.kendoui.com/web/calendar/index.html'
ActiveBrowser.NavigateTo("http://demos.kendoui.com/web/calendar/index.html");
 
//Get the Calendar object
KendoCalendar calendar = ActiveBrowser.Find.ById<KendoCalendar>("calendar");
 
//Select date
calendar.selectDay("2013, 09, 18");

It will select 18th October 2013, not 18th September 2013. This is counterintuitive since in C#,  DateTime months are not Zero-based as they are in JavaScript Date Object. 
1 comment
ADMIN
Atanas Georgiev
Posted on: 30 Sep 2013 14:39
Yes - the current non-intuitive implementation is as in JavaScript Date object. If we change it now many clients' tests will be affected. We will look for smooth and smart way to deal with the issue, so usage is more intuitive and braking change is not introduced in the translator. Any suggestion are welcome.