<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Undefined index year in Date.php on line 2614</title>
	<atom:link href="http://activecodeline.com/undefined-index-year-in-datephp-on-line-2614/feed/" rel="self" type="application/rss+xml" />
	<link>http://activecodeline.com/undefined-index-year-in-datephp-on-line-2614/</link>
	<description>E-Commerce developer with Magento and Wordpress</description>
	<pubDate>Tue, 06 Jan 2009 11:04:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Eu</title>
		<link>http://activecodeline.com/undefined-index-year-in-datephp-on-line-2614/comment-page-1/#comment-396</link>
		<dc:creator>Eu</dc:creator>
		<pubDate>Wed, 12 Nov 2008 16:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=262#comment-396</guid>
		<description>The bug is caused by locale settings and it appears only when you use a certain date format, for example the US standard format(mm/dd/yyyy) triggers it. Namitha's modification seems to fix it. Tnx</description>
		<content:encoded><![CDATA[<p>The bug is caused by locale settings and it appears only when you use a certain date format, for example the US standard format(mm/dd/yyyy) triggers it. Namitha&#8217;s modification seems to fix it. Tnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Namitha</title>
		<link>http://activecodeline.com/undefined-index-year-in-datephp-on-line-2614/comment-page-1/#comment-372</link>
		<dc:creator>Namitha</dc:creator>
		<pubDate>Mon, 10 Nov 2008 12:14:57 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=262#comment-372</guid>
		<description>../magento/app/code/core/Mage/Core/Model/Locale.php lines 379 to 381.  Change the following:

$convert = array('yyyy-MM-ddTHH:mm:ssZZZZ'=&#62;'%c',   'EEEE'=&#62;'%A',   'EEE'=&#62;'%a','D'=&#62;'%j',
                         'MMMM'=&#62;'%B',  'MMM'=&#62;'%b',        'MM'=&#62;'%m',     'M'=&#62;'%m',  'dd'=&#62;'%d',
                         'd'=&#62;'%e',     'yyyy'=&#62;'%Y',       'yy'=&#62;'%y');

to the folowing code:

$convert = array('yyyy-MM-ddTHH:mm:ssZZZZ'=&#62;'%c',   'EEEE'=&#62;'%A',   'EEE'=&#62;'%a','D'=&#62;'%j',
                         'MMMM'=&#62;'%B',  'MMM'=&#62;'%b',        'MM'=&#62;'%m',     'M'=&#62;'%m',  'dd'=&#62;'%d',
                         'd'=&#62;'%d',     'yyyy'=&#62;'%Y',       'yy'=&#62;'%y');

Note the ‘d’=&#62;’%d’ in the third line of code makes all the difference.  Now, all your dates will work properly now.</description>
		<content:encoded><![CDATA[<p>../magento/app/code/core/Mage/Core/Model/Locale.php lines 379 to 381.  Change the following:</p>
<p>$convert = array(&#8217;yyyy-MM-ddTHH:mm:ssZZZZ&#8217;=&gt;&#8217;%c&#8217;,   &#8216;EEEE&#8217;=&gt;&#8217;%A&#8217;,   &#8216;EEE&#8217;=&gt;&#8217;%a&#8217;,'D&#8217;=&gt;&#8217;%j&#8217;,<br />
                         &#8216;MMMM&#8217;=&gt;&#8217;%B&#8217;,  &#8216;MMM&#8217;=&gt;&#8217;%b&#8217;,        &#8216;MM&#8217;=&gt;&#8217;%m&#8217;,     &#8216;M&#8217;=&gt;&#8217;%m&#8217;,  &#8216;dd&#8217;=&gt;&#8217;%d&#8217;,<br />
                         &#8216;d&#8217;=&gt;&#8217;%e&#8217;,     &#8216;yyyy&#8217;=&gt;&#8217;%Y&#8217;,       &#8216;yy&#8217;=&gt;&#8217;%y&#8217;);</p>
<p>to the folowing code:</p>
<p>$convert = array(&#8217;yyyy-MM-ddTHH:mm:ssZZZZ&#8217;=&gt;&#8217;%c&#8217;,   &#8216;EEEE&#8217;=&gt;&#8217;%A&#8217;,   &#8216;EEE&#8217;=&gt;&#8217;%a&#8217;,'D&#8217;=&gt;&#8217;%j&#8217;,<br />
                         &#8216;MMMM&#8217;=&gt;&#8217;%B&#8217;,  &#8216;MMM&#8217;=&gt;&#8217;%b&#8217;,        &#8216;MM&#8217;=&gt;&#8217;%m&#8217;,     &#8216;M&#8217;=&gt;&#8217;%m&#8217;,  &#8216;dd&#8217;=&gt;&#8217;%d&#8217;,<br />
                         &#8216;d&#8217;=&gt;&#8217;%d&#8217;,     &#8216;yyyy&#8217;=&gt;&#8217;%Y&#8217;,       &#8216;yy&#8217;=&gt;&#8217;%y&#8217;);</p>
<p>Note the ‘d’=&gt;’%d’ in the third line of code makes all the difference.  Now, all your dates will work properly now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://activecodeline.com/undefined-index-year-in-datephp-on-line-2614/comment-page-1/#comment-300</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sun, 26 Oct 2008 05:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=262#comment-300</guid>
		<description>Looks like somebody reported the issue here:

http://www.magentocommerce.com/bug-tracking/issue/?issue=2924

but the Magento team was unable to reproduce it so they closed the ticket. I'm not sure why they considered it "Resolved", though. I'm still experiencing the problem in 1.1.6.</description>
		<content:encoded><![CDATA[<p>Looks like somebody reported the issue here:</p>
<p><a href="http://www.magentocommerce.com/bug-tracking/issue/?issue=2924" rel="nofollow">http://www.magentocommerce.com/bug-tracking/issue/?issue=2924</a></p>
<p>but the Magento team was unable to reproduce it so they closed the ticket. I&#8217;m not sure why they considered it &#8220;Resolved&#8221;, though. I&#8217;m still experiencing the problem in 1.1.6.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brakk</title>
		<link>http://activecodeline.com/undefined-index-year-in-datephp-on-line-2614/comment-page-1/#comment-204</link>
		<dc:creator>Brakk</dc:creator>
		<pubDate>Mon, 13 Oct 2008 21:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=262#comment-204</guid>
		<description>Thank you for this. I looked all over Magento's horrible forums and couldn't find any mention of this. There were other references to this error related to mismatched local settings, but that wasn't my case.</description>
		<content:encoded><![CDATA[<p>Thank you for this. I looked all over Magento&#8217;s horrible forums and couldn&#8217;t find any mention of this. There were other references to this error related to mismatched local settings, but that wasn&#8217;t my case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magelover</title>
		<link>http://activecodeline.com/undefined-index-year-in-datephp-on-line-2614/comment-page-1/#comment-182</link>
		<dc:creator>Magelover</dc:creator>
		<pubDate>Wed, 08 Oct 2008 05:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://activecodeline.com/?p=262#comment-182</guid>
		<description>Yeah, that's a very annoying bug...hope they fix it for the next release</description>
		<content:encoded><![CDATA[<p>Yeah, that&#8217;s a very annoying bug&#8230;hope they fix it for the next release</p>
]]></content:encoded>
	</item>
</channel>
</rss>
