<?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 #9062 / adminhtml Order Date and Order Date (based on time</title>
        <link>http://www.magentocommerce.com/bug-tracking/issue?issue=4300</link>
        <description><![CDATA[<strong>Posted:</strong> 2008-12-02 01:36:12<br/><strong>Category:</strong> Orders<br/><strong>Version:</strong> 1.1.8<br/><strong>Priority:</strong> normal<br/><strong>Status:</strong> closed<br/><strong>Reported By:</strong> <a href="http://www.magentocommerce.com/boards/member/17713/">capple_</a></strong><br/><br/>When viewing an order in admin's view (Sales &gt; Orders), it seems the two order dates, one normal, one based on time zone, do not correspond at all.<br />
<br />
Example of an order:<br />
In the database (sales_order table), the created_at is 2008-12-02 04:43:11<br />
But in admin's order view (Sales &gt; Orders):<br />
Order Date      Dec 1, 2008 11:43:11 PM<br />
Order Date (America/New_York)     Feb 11, 2008 11:43:11 PM<br />
<br />
Note that since I'm in Eastern Standard Time, the Order Date shown is correct. However, the Order Date (America/New_York) is totally off by 10 months, only the time is right.<br />
<br />
I found the adminhtml file here:<br />
appdesignadminhtmldefaultdefaulttemplatesalesorderviewinfo.phtml (line 30, 54-59)<br />
$orderStoreDate is the affected variable, maybe there's a bug in the function: getCreatedAtDate(), which is called to get the date based on time zone.<br />
<br />
I assume this is the getCreatedAtDate() located here:<br />
appcodecoreMageSalesModelOrder.php (line 1268)<br />
<br />
I compared 1.1.6 and 1.1.8 code and it seems this new order date by time zone is introduced after 1.1.6.<br />
<br />
Is this a bug? Or something that can be fixed with a configuration or setting change?<br />
<br />
Thanks!<br/><br/><hr/>]]></description>
    </item>
    
                    <item>
        <title>RE: adminhtml Order Date and Order Date (based on time</title>
        <description><![CDATA[<em>#1 / Comment by <a href="http://www.magentocommerce.com/boards/member/17411/">kathys</a></em><br/><br/>I am experiencing the same problem after upgrading to 1.1.8.]]></description>
    </item>
            <item>
        <title>RE: adminhtml Order Date and Order Date (based on time</title>
        <description><![CDATA[<em>#2 / Comment by <a href="http://www.magentocommerce.com/boards/member/38589/">batman</a></em><br/><br/>This appears to be a new &quot;feature&quot; in 1.1.8.  It does not occur in 1.1.7.<br />
<br />
Here is what one of my orders looks like:<br />
<br />
Order Date Dec 2, 2008 8:06:13 PM <br />
Order Date (America/Mexico_City) Mar 11, 2008 8:06:13 PM]]></description>
    </item>
            <item>
        <title>RE: adminhtml Order Date and Order Date (based on time</title>
        <description><![CDATA[<em>#3 / Comment by <a href="http://www.magentocommerce.com/boards/member/75455/">xrussx</a></em><br/><br/>Yup, I have the same issue. Two dates, second date doesn't correspond with anything within the order.]]></description>
    </item>
            <item>
        <title>RE: adminhtml Order Date and Order Date (based on time</title>
        <description><![CDATA[<em>#4 / Comment by <a href="http://www.magentocommerce.com/boards/member/25445/">mikefifield</a></em><br/><br/>I have the same issue.]]></description>
    </item>
            <item>
        <title>RE: adminhtml Order Date and Order Date (based on time</title>
        <description><![CDATA[<em>#5 / Comment by <a href="http://www.magentocommerce.com/boards/member/45198/">joyously</a></em><br/><br/>It looks like it's reversing the month and day, plus or minus one.]]></description>
    </item>
            <item>
        <title>RE: adminhtml Order Date and Order Date (based on time</title>
        <description><![CDATA[<em>#6 / Comment by <a href="http://www.magentocommerce.com/boards/member/25041/">Thoths Tablet</a></em><br/><br/>This issue DOES happen in 1.1.7.<br />
<br />
I read that someone noticed that it didn't begin to happen to their orders until after January 1 - my own order history also supports this theory.]]></description>
    </item>
            <item>
        <title>RE: adminhtml Order Date and Order Date (based on time</title>
        <description><![CDATA[<em>#7 / Comment by <a href="http://www.magentocommerce.com/boards/member/25157/">Killoff</a></em><br/><br/>Hi all responders.<br />
<br />
Those who have problems with timezone dates output, please run script below from you web-root directory.<br />
Will glad to see your results due to the fact that we cannot reproduce this issue.<br />
<br />
&lt;?php<br />
require_once 'app/Mage.php';<br />
Mage::app();<br />
<br />
$_testDatetime = '2008-12-02 04:43:11';  // capple_'s example<br />
<br />
// 0, 2, etc. - store view Ids you want to test, you can use string codes as well<br />
echo Mage::app()-&gt;getLocale()-&gt;storeDate(0, strtotime($_testDatetime), true).'&lt;/br&gt;';<br />
echo Mage::app()-&gt;getLocale()-&gt;storeDate(2, strtotime($_testDatetime), true).'&lt;/br&gt;';<br />
?&gt;]]></description>
    </item>
            <item>
        <title>RE: adminhtml Order Date and Order Date (based on time</title>
        <description><![CDATA[<em>#8 / Comment by <a href="http://www.magentocommerce.com/boards/member/25041/">Thoths Tablet</a></em><br/><br/>Killoff,<br />
<br />
I ran the script and my results for storeviews 0 and 1 are:<br />
<br />
Dec 1, 2008 11:43:11 PM<br />
Dec 1, 2008 11:43:11 PM<br />
<br />
I'm not sure what to make of that - but perhaps you do.<br />
<br />
More information:  No orders placed on or after the 12th of January have shown the extra order date.  My earlier orders from the beginning of 2009 through Jan 11 still have them though.<br />
<br />
Thanks for helping out here!]]></description>
    </item>
            <item>
        <title>RE: adminhtml Order Date and Order Date (based on time</title>
        <description><![CDATA[<em>#9 / Comment by <a href="http://www.magentocommerce.com/boards/member/25041/">Thoths Tablet</a></em><br/><br/>Killoff,<br />
<br />
I tried a couple of order dates from my own orders, and I get the same -5 hour time difference.  I'm guessing that this might be tied to my timezone (GMT -5).  This display difference doesn't seem to have any relationship to the pattern we've seen though:<br />
<br />
It seems that in the second (fake) date, the Month that is shown  gets its value from the Day of the actual order date (the order date in the database - not your Timezone corrected display date!!).  Hope this is helpful.]]></description>
    </item>
            <item>
        <title>RE: adminhtml Order Date and Order Date (based on time</title>
        <description><![CDATA[<em>#10 / Comment by Magento Team</em><br/><br/>Hello capple_,<br />
<br />
This issue was fixed. The changes will be available in the next bugfix release.<br />
<br />
Thank you.]]></description>
    </item>
        </channel>
</rss>