<?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: $.fn.fmatter('date'</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/fn-fmatterdate</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/bugs/fn-fmatterdate/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>nayrh on $.fn.fmatter('date'</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fn-fmatterdate#p26830</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fn-fmatterdate#p26830</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>When i call this line directly:</p>
</p>
<p><strong>var lastUpdated = $.fn.fmatter(&#39;date&#39;, udata.lastUpdated, { newformat: &#39;M d Y h:iA&#39; });</strong></p>
</p>
<p>newformat doesn&#39;t work. It always return format in d/m/y. I tried to debug:</p>
</p>
<p><strong>$.fn.fmatter.date = function (cellval, opts, rwd, act) {</strong></p>
<p><strong>...</strong></p>
<p><strong>//return &#160;$.fmatter.util.DateFormat(op.srcformat,cellval,<span style="color: #ff6600;">op</span>.newformat,op); <span style="color: #0000ff;">//replaced this line with the one below</span></strong></p>
<p><strong>return &#160;$.fmatter.util.DateFormat(op.srcformat,cellval,<span style="color: #ff6600;">opts</span>.newformat,op);</strong></p>
<p><strong>...</strong></p>
<p><strong>}</strong></p>
</p>
<p>After replacing it works fine. I&#39;m not sure if this is a bug.</p>
]]></description>
        	        	<pubDate>Thu, 21 Jun 2012 10:12:15 +0300</pubDate>
        </item>
</channel>
</rss>