<?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 formatter question</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/date-formatter-question</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/help/date-formatter-question/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>cwillard on date formatter question</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/date-formatter-question#p20653</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/date-formatter-question#p20653</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>It seem to me that your source date format is too bad to be interpreted by the <a href="/jqgridwiki/doku.php?id=wiki:predefined_formatter" target="_blank">standard date formatter</a>. With the writing your <a href="/jqgridwiki/doku.php?id=wiki:custom_formatter" target="_blank">custom formatter</a> you will be able to read the date. Why you not use ISO8601Long format "Y-m-d H:i:s"?</p>
</blockquote>
<hr />
<p>Well, I just thought a timestamp like 201011031122 would be simple to get from the server.&#160; I can use another format.&#160; I was just surprised that it was not able to be converted.&#160; I would think if this is using a regex, it should be able to handle any format, even ones without spaces.</p>
<p>Thx for the feedback.</p>
]]></description>
        	        	<pubDate>Wed, 03 Nov 2010 17:23:01 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on date formatter question</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/date-formatter-question#p20647</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/date-formatter-question#p20647</guid>
        	        	<description><![CDATA[<p>It seem to me that your source date format is too bad to be interpreted by the <a href="/jqgridwiki/doku.php?id=wiki:predefined_formatter" target="_blank">standard date formatter</a>. With the writing your <a href="/jqgridwiki/doku.php?id=wiki:custom_formatter" target="_blank">custom formatter</a> you will be able to read the date. Why you not use ISO8601Long format "Y-m-d H:i:s"?</p>
]]></description>
        	        	<pubDate>Wed, 03 Nov 2010 16:14:31 +0200</pubDate>
        </item>
        <item>
        	<title>cwillard on date formatter question</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/date-formatter-question#p20645</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/date-formatter-question#p20645</guid>
        	        	<description><![CDATA[<p>anyone?</p>
]]></description>
        	        	<pubDate>Wed, 03 Nov 2010 15:33:49 +0200</pubDate>
        </item>
        <item>
        	<title>cwillard on date formatter question</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/date-formatter-question#p20633</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/date-formatter-question#p20633</guid>
        	        	<description><![CDATA[<p>I am attempting to convert dates from one format in JSON to a different format for display.&#160; I am using the newest version of jqGrid with jquery1.4.3.</p>
<p>Here is the relevant code:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7966' value='Select Code' data-codeid='sfcode7966' /></p>
<div class='sfcode' id='sfcode7966'>
<p>colModel: [<br />...</p>
<p>&#160;&#160; { name: &#39;lastAllocation&#39;, index: &#39;lastAllocation&#39;, formatter: &#39;date&#39;, formatoptions: { srcformat: &#39;YmdHi&#39;, newformat: &#39;d/m/Y g:ia&#39; } },<br />...</p>
<p>]</p>
</div>
<p>The date I&#39;m trying to convert is "201008120610", but what is being displayed is 01/01/1970 12:00am.&#160; It seems like perhaps the lack of spaces is what is causing the problem.</p>
<p>Does anyone know anything about this and what I might be doing wrong?</p>
]]></description>
        	        	<pubDate>Tue, 02 Nov 2010 21:23:42 +0200</pubDate>
        </item>
</channel>
</rss>