i using html.kendo().grid , column defined this:
columns.bound(t => t.datetimeproperty).clienttemplate("#= kendo.tostring(datetimeproperty<br>? datetimeproperty : '" + @t("common_none") + "', 'mm/dd/yyyy') #").width(130);
it renders fine, dispaying 1 day behind correct day. example: display 2/24/2013, actual date 2/25/2013.
any suggestions?
the reason different date shown automatic conversion of browsers , different timezone. please check this code-library demonstrates how use utc both on server , on client same date displayed , saved.
Comments
Post a Comment