Hi,
I'm using a Kendo DatePicker for my HTML5 grid (Attachment "date1.png").
If you select/pick a date everything's fine, but if you type a date manually and set the focus on any other object, the typed date will jump 1 day before it. For example:
I type "13.07.2016" and click a save-button (that's what I meant with set the focus on any other object), then the date jumps to "12.07.2016".
Do not hesitate to ask if you have any questions.
5 Answers, 1 is accepted
I tested the depicted issue using our Globalization demo, but it seems that the widget works jus fine:
http://screencast.com/t/TWx4eiFa1Yk
Could you test the same demo and let me know whether the issue is still present at your side? Also could you share with us what is the Timezone configuration of the PC, as it could be relevant?
Regards,
Georgi Krustev
Telerik by Progress
Hello Georgi,
your demo works absolutely fine. Timezone is CEST (UTC +2). Do you want to know anything else?
Greetings,
Andreas
In that case, the issue is lurking somewhere else. If the demo works just fine, then the cause of the erroneous behavior could be related to the surrounding implementation (how the widget is used).
Could you send us a repro demo? You can use the Dojo demo as a base. With an example that replicates the issue locally, we can continue our investigation and narrow the problem down much faster.
Regards,
Georgi Krustev
Telerik by Progress
Hello Georgi,
the source of this bad behavior is not related to your control, its caused by the JSON.stringify() conversation, because the datetime is stored as CEST (UTC +2) and it will be castet automatically to UTC.
We will discuss a matching solution on base of that topic:
http://stackoverflow.com/a/1488415
Best regards
Andreas