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

Datetime in Kendo UI grid: dates before 1970 c#

1 Answer 172 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Drew
Top achievements
Rank 1
Drew asked on 26 Mar 2014, 04:53 PM
Has anyone experienced seeing "NaN/NaN/0NaN" in Kendo UI grids for fields prior to 1970?  I'm experiencing this in the Kendo UI grids, but not the previous Telerik UI grids. 
The fields (date of births) are of type "Datetime?"
The view i'm using uses .Format("{0:d}") for formatting, might that be the issue?
 
    columns.Bound(od => od.PatientDOB).Format("{0:d}").Title("PatientDOB").Width(50);

Attached 2 screenshots for visual representation.
I'm wondering if there is a workaround to this issue.

Any help is greatly appreciated.
Thanks!

1 Answer, 1 is accepted

Sort by
0
Drew
Top achievements
Rank 1
answered on 26 Mar 2014, 06:23 PM
Disregard, just upgraded to Kendo v2014.3.1318; this fixes the date issue.
Please close.

Thanks!
Tags
Grid
Asked by
Drew
Top achievements
Rank 1
Answers by
Drew
Top achievements
Rank 1
Share this question
or