When i select a date in Kendo-datepicker it gives me a date which is with the local timezone.
Now if the same thing is opened in different timezone the date differs.
So i would need how do i show the same date irrespective of timezone.
they simply display the JavaScript Date object they are value-bound to
Kendo decided to use javascript dates here, not us. The user isn't selecting a time/offset. They're only selecting month/day/year. Therefore it's "incorrect" to emit different values depending on the user's location. One simple suggestion is to offer binding to isoStrings (yyyy-mm-dd) instead of dates? That's what the native HTML date picker uses and I think makes more sense?
Hi Hari,
In general, the Kendo UI DatePicker (and other components from the DateInputs) package do not perform any date conversion - they simply display the JavaScript Date object they are value-bound to.
If there is any Date creation/parsing/conversion performed on the client beforehand, then the developer is responsible for providing the DatePicker with a value that will display the expected result.
We will have to decline this feature request, as displaying an arbitrary date based on some specific scenario requirements is beyond the scope of our components, and the developer has full control over creating the Date object the DatePicker will display.
Regards,
Dimiter Topalov
Progress Telerik