Hi,
This is a strange problem. I have a grid with dates from ASP.NET MVC. In the grid the dates are look OK.
I'm using "hu-HU" globalization.
When I update, or create a row, the sended date is this format: Wed Aug 1 17:32:58 UTC+0200 2012
This looks like in httpencoding in GET: projects%5B0%5D.start=Wed+Aug+01+2012+00%3A00%3A00+GMT%2B0200+(K%C3%B6z%C3%A9p-eur%C3%B3pai+ny%C3%A1ri+id%C5%91)
And here it is my MVC controller action:
When I check projects I see that date's parsed failed so I see my Datetimes in my incoming object: {0001.01.01. 0:00:00}
Please advice, what should I do for good date communication protocol?
Thank you very much!
This is a strange problem. I have a grid with dates from ASP.NET MVC. In the grid the dates are look OK.
I'm using "hu-HU" globalization.
When I update, or create a row, the sended date is this format: Wed Aug 1 17:32:58 UTC+0200 2012
This looks like in httpencoding in GET: projects%5B0%5D.start=Wed+Aug+01+2012+00%3A00%3A00+GMT%2B0200+(K%C3%B6z%C3%A9p-eur%C3%B3pai+ny%C3%A1ri+id%C5%91)
And here it is my MVC controller action:
public
JsonResult CreateProject(IEnumerable<ProjectViewModel> projects){...}
When I check projects I see that date's parsed failed so I see my Datetimes in my incoming object: {0001.01.01. 0:00:00}
Please advice, what should I do for good date communication protocol?
Thank you very much!