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

Date format keeps reversing

1 Answer 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alan Mosley
Top achievements
Rank 1
Alan Mosley asked on 19 Nov 2013, 01:53 AM
I am using the grid to edit dates, I am in Australia, and when editing 2013-11-9 it becomes 2013-9-11 I have read many posts about this but cant seem to fix it. 
I am using the MVC wrappers. 
I have tried using dateformat on the grid field, i have set globalization in webconfig, I have added kendo.culture.en-AU.min.js script (not sure if that is necessary in mvc wrappers) but cant get it to work.
Thanks

I should add, my date type is nullable of date
Thanks

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 20 Nov 2013, 04:15 PM
Hello Alan,

I assume you are facing the UTC conversion issue which is discussed multiple times in the forums and over the internet. To get a better idea what is happening and what we suggest as a solution check the following code library:

http://www.kendoui.com/code-library/mvc/grid/using-utc-time-on-both-client-and-server-sides.aspx


Kind Regards,
Petur Subev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Alan Mosley
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or