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

DateTime formate that includes meridiem?

1 Answer 58 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Kyle
Top achievements
Rank 1
Kyle asked on 25 May 2012, 03:20 PM
I'm trying to figure out how to have a template in a Kendo grid display the meridiem. I have the following column:

{ title: 'Start Date', field: 'startDate', template: "#= kendo.toString(convertToLocalTime(startDate), 'MMMM dd yyyy, h:mm a') #" },

But it ends up displaying 'May 1 2012, 6:00 a' instead of AM or PM. What do I need to use in the format to display this? Is there a doc anywhere showing the formats?

1 Answer, 1 is accepted

Sort by
0
Kyle
Top achievements
Rank 1
answered on 30 May 2012, 12:56 PM
I figured out that TT did the job. I was still unable to find any documentation though.
Tags
Date/Time Pickers
Asked by
Kyle
Top achievements
Rank 1
Answers by
Kyle
Top achievements
Rank 1
Share this question
or