<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Date formats differentiation between screen and post</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/date-formats-differentiation-between-screen-and-post</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/feature-request/date-formats-differentiation-between-screen-and-post/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>MorkvonOrk on Date formats differentiation between screen and post</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/date-formats-differentiation-between-screen-and-post#p28486</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/date-formats-differentiation-between-screen-and-post#p28486</guid>
        	        	<description><![CDATA[<p>I&#39;m still struggling with the date format that jqgrid returns to my web api.</p>
<p>The server exports dates in ISO8601-format that jqgrid processes fine: sorting goes well and the cells display the expected "dd/mm/yyyy"-format.</p>
<p style="padding-left: 30px;">datefmt: &#39;ISO8601Short&#39;,<br />formatoptions: { srcformat: &#39;ISO8601Short&#39;, newformat: &#39;d/m/Y&#39; }</p>
<p>I want to send back in ISO8601-format but jqgrid can only post the same format as displayed - as far as I understand the documentation.</p>
<p>Fiddler-tests proof that my server (ASP.NET MVC4 WEB API) accepts ISO8601-dates correctly. In the current configuration "dd/mm/yyyy"-dates are posted and the jsonparser switches day and month.</p>
<p>It would be a good to differentiate the screen and post format for dates. Another approach would be to always post back in the same format as srcformat.</p>
<p>My 2 cents.</p>
<p>Mork</p>
]]></description>
        	        	<pubDate>Wed, 20 Mar 2013 00:03:20 +0200</pubDate>
        </item>
</channel>
</rss>