I have a web application, built using MVC 3 and Kendo extensions for MVC version 2012.3.1210.
I'm using the format function to format dates shown in Grids, however they are displaying in the US format (i.e. month first, then day), instead of the UK format, even though I'm setting the kendo culture to en-GB.
e.g.:- The field definition
and the culture reference in _Layout.cshtml :-
The dates shown in date picker controls are fine, - just when displayed in grids. How can I get UK dates to display?
I'm using the format function to format dates shown in Grids, however they are displaying in the US format (i.e. month first, then day), instead of the UK format, even though I'm setting the kendo culture to en-GB.
e.g.:- The field definition
columns.Bound(p => p.attdate).Title("Att Date").Format("{0:d}");
and the culture reference in _Layout.cshtml :-
<script type=
"text/javascript"
>
//set current to the "en-GB" culture script
kendo.culture(
"en-GB"
);
</script>
The dates shown in date picker controls are fine, - just when displayed in grids. How can I get UK dates to display?