<?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 having wrong parsed with srcformat: "ISO8601Long"</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/date-having-wrong-parsed-with-srcformat-iso8601long</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/date-having-wrong-parsed-with-srcformat-iso8601long/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on Date having wrong parsed with srcformat: "ISO8601Long"</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/date-having-wrong-parsed-with-srcformat-iso8601long#p30207</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/date-having-wrong-parsed-with-srcformat-iso8601long#p30207</guid>
        	        	<description><![CDATA[<p>It&#39;s very good news about new version!</p>
<p>After publishing of the version I would like to post you some pull requests with my suggestions how all icons and texts used in jqGrid can be configured more flexibly. The goal is providing of simple way to choose Font Awesome icons or other vector based icons instead of standard jQuery UI icons. The current code contains the most icons directly in the code and it inserts "ui-icon" class additionally. I think that the code can use the function like <strong>$.jgrid.icons.getClass("iconName")</strong>&#160;or everywhere in the code (for example <strong>$.jgrid.icons.getClass("sortAsc")</strong>, <strong>$.jgrid.icons.getClass("pagerFirst")</strong>&#160;or <strong>$.jgrid.icons.getClass("navRefresh")</strong>). The value of&#160;<strong>this</strong> of <strong>$.jgrid.icons.getClass&#160;</strong>could be set to DOM of the grid, so that it can use&#160;<em>current options</em> of the current grid. In the same way one can easy create one grid with jQuery UI icons and another one with Font Awesome icons. In the same way the method <strong>$.jgrid.icons.getText</strong>&#160;could be used everywhere to get information from language specific files like <em>grid.locale-en.js</em>. The implementation of <strong>$.jgrid.icons.getText</strong>&#160;could read the information from static objects which structure could be close to the current language specific files&#160;<em>grid.locale-XX.js</em>. Usage of function would provide maximal flexibility and allows to place grids on the page with different language per grid.</p>
<p>Such kind of changes need be good tested. So I don&#39;t think that it would be reasonable to post the changes before new release of jqGrid.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Wed, 05 Feb 2014 17:34:48 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Date having wrong parsed with srcformat: "ISO8601Long"</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/date-having-wrong-parsed-with-srcformat-iso8601long#p30206</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/date-having-wrong-parsed-with-srcformat-iso8601long#p30206</guid>
        	        	<description><![CDATA[<p>Hello Oleg,</p>
</p>
<p>Many Thanks. Will fix the lang files.</p>
<p>We will publish the new release soon. I just prepare the docs for the new features.</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 05 Feb 2014 16:25:42 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Date having wrong parsed with srcformat: "ISO8601Long"</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/date-having-wrong-parsed-with-srcformat-iso8601long#p30205</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/date-having-wrong-parsed-with-srcformat-iso8601long#p30205</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>you fixed removing &#39;T&#39; character inside of <strong>parseDate</strong> and replaced it to #. Additionally you included lines</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7672' value='Select Code' data-codeid='sfcode7672' /></p>
<div class='sfcode' id='sfcode7672'>// old lang files<br />if(opts.parseRe === undefined ) {<br />&#160; &#160; opts.parseRe = /[<strong>#</strong>%\\\\\\/:_;.,\\t\\s-]/;<br />}&#160;</div>
<p>The problem is that language files like <em>grid.locale-en.js</em> for example have already <strong>parseRe</strong> defined with T (/[<strong>Tt</strong>%\\\\\\/:_;.,\\t\\s-]/) instead of # as (see <a href="https://github.com/tonytomov/jqGrid/blob/master/js/i18n/grid.locale-en.js#L107" target="_blank">here</a>). So the paring of ISO dates are inclorrect. It&#39;s correct only in case of usage old language files&#160;(from version 4.5.0 or before).</p>
<p>To fix the problem one should either remove common line with definition of parseRe from all language files or fix the value.</p>
<p>Best regards<br />Oleg</p>
<p>P.S. Do you plan to publish new version of jqGrid next time?&#160;</p></p>
]]></description>
        	        	<pubDate>Wed, 05 Feb 2014 12:46:16 +0200</pubDate>
        </item>
</channel>
</rss>