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

DatePicker value -> invalid date time format!!!!

4 Answers 997 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
FIlip
Top achievements
Rank 1
FIlip asked on 08 Nov 2012, 01:24 PM
Hello,

I'm building external search filter for kendo Grid. 
In the filter i have two datepickers, When i'm trying to parse the value of the date pickers and pass to the action in the controller via external atribute grid->datasource->read-data()! i get the date time string in format  "Sat Dec 08 2012 00:00:00 GMT+0100 (Central European Standard Time)" and then i cant parse that datatime string to actual datetime object! Can someone help with this!

Regards,
Philip Selvievski

4 Answers, 1 is accepted

Sort by
0
Asma
Top achievements
Rank 1
answered on 26 Nov 2012, 10:06 PM
I have the same issue! I'm wondering if you've found a solution for this. 

Please let me know as soon as you can ! 

Thank You,
Asma Patel
0
Jignesh
Top achievements
Rank 1
answered on 05 Dec 2012, 07:02 AM
Please include culture specific file from Kendo UI,

e.g.
<script src="~/Scripts/kendo/2012.3.1114/cultures/kendo.culture.en-IN.min.js"></script>
0
David Yardy
Top achievements
Rank 1
answered on 14 Dec 2012, 02:00 PM
Including culture js file didn't help me.

Any idea of solution? ty

0
Georgi Krustev
Telerik team
answered on 17 Dec 2012, 09:57 AM
Hello David,

 
I will suggest you check this help topic, which describes how to set the culture settings of the Kendo UI.

All the best,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Date/Time Pickers
Asked by
FIlip
Top achievements
Rank 1
Answers by
Asma
Top achievements
Rank 1
Jignesh
Top achievements
Rank 1
David Yardy
Top achievements
Rank 1
Georgi Krustev
Telerik team
Share this question
or