<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
    <title>Magento Issue Tracking</title>
    <link>http://www.magentocommerce.com/bug-tracking/</link>
    <description></description>
    <dc:language>en</dc:language>
    <dc:creator>MagentoCommerce</dc:creator>
    <dc:rights>Copyright {gmt_date format="%Y"}</dc:rights>
    <dc:date>{gmt_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
        <item>
        <title>View Issue #7498 / Set Product as New from Date - Wrong logic it must</title>
        <link>http://www.magentocommerce.com/bug-tracking/issue?issue=3510</link>
        <description><![CDATA[<strong>Posted:</strong> 2008-10-01 07:46:00<br/><strong>Category:</strong> Content Management System (CMS)<br/><strong>Version:</strong> 1.1.6<br/><strong>Priority:</strong> normal<br/><strong>Status:</strong> closed<br/><strong>Reported By:</strong> <a href="http://www.magentocommerce.com/boards/member/9856/">kalle</a></strong><br/><br/>hello, <br />
<br />
Product attribute: Set Product as New from Date.<br />
<br />
Wrong logic it must be  from &quot;&gt;=&quot;  to Date for example if the from date is 10/01/2008... it doesn't work .... <br />
<br />
best regards <br />
    jan<br/><br/><hr/>]]></description>
    </item>
    
                    <item>
        <title>RE: Set Product as New from Date - Wrong logic it must</title>
        <description><![CDATA[<em>#1 / Comment by <a href="http://www.magentocommerce.com/boards/member/49840/">James Leckie</a></em><br/><br/>Also experiencing issues with the new products.  However I am finding that they are not being removed when it reaches the 'to' date.  Below is the offending code, however that Zend_DB_Expr stuff is black magic.<br />
<br />
        $products   = $product-&gt;setStoreId($storeId)-&gt;getCollection()<br />
            -&gt;addAttributeToFilter('news_from_date', array('date'=&gt;true, 'to'=&gt; $todayDate))<br />
            -&gt;addAttributeToFilter(array(array('attribute'=&gt;'news_to_date', 'date'=&gt;true, 'from'=&gt;$todayDate), <br />
                                        array('attribute'=&gt;'news_to_date', 'is' =&gt; new Zend_Db_Expr('null'))),'','left')<br />
            -&gt;addAttributeToSort('news_from_date','desc')<br />
            -&gt;addAttributeToSelect(array('name', 'price', 'small_image'), 'inner')<br />
            -&gt;addAttributeToSelect(array('special_price', 'special_from_date', 'special_to_date'), 'left')<br />
            -&gt;addAttributeToSelect('status')<br />
        ;]]></description>
    </item>
            <item>
        <title>RE: Set Product as New from Date - Wrong logic it must</title>
        <description><![CDATA[<em>#2 / Comment by Magento Team</em><br/><br/>@kalle<br />
We did not find this problem. Make sure you have specified date &quot;from&quot; (date &quot;to&quot; is optional).<br />
Please try to check the timezone (all dates are stored in UTC)<br />
<br />
@James Leckie<br />
Thanks for report, we resolved the problem with date &quot;to&quot;]]></description>
    </item>
            <item>
        <title>RE: Set Product as New from Date - Wrong logic it must</title>
        <description><![CDATA[<em>#3 / Comment by <a href="http://www.magentocommerce.com/boards/member/51523/">Oldgamer</a></em><br/><br/>Guys, I try to figure it out, cause I have same problem as James Leckie, but probably I just don't understand that logic. I assume that New Date From is earlier than New Date To, and product will be selected as new if current date is earlier than New Date To.<br />
Can somebody give some light with this? It should be easy.<br />
<br />
Thanks for any help.]]></description>
    </item>
        </channel>
</rss>