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

Having issues with dates

0 Answers 27 Views
Grid
This is a migrated thread and some comments may be shown as answers.
steven
Top achievements
Rank 1
steven asked on 07 Nov 2012, 05:09 PM
Hi, I'm trying to remotely bind a grid through json.

Here is a sample of my json:
[{"dateadded":"October, 29 2009 13:45:00"}]

my grid, with this as a template:
#= kendo.toString(dateadded,"MM/dd/yyyy") #

is displaying as this:
10/01/2029

I'm using coldfusion to serialize my json and its being pulled from a datetime format field.  If I manipulate the data before it gets serialized to reflect mm/dd/yyyy then its ok.  I still want to make sure it sorts correctly too.

any guidance to what I could be doing wrong?

No answers yet. Maybe you can help?

Tags
Grid
Asked by
steven
Top achievements
Rank 1
Share this question
or