fabiano_albernaz Posted May 20, 2009 Share Posted May 20, 2009 Sometimes date are handy codedin Admin Panel ... Backofficethe two listings of Orders and Customer are in YYYY mm dd - date formatindependent from tha language you choose ...change AdminOrders.php and AdminCustomers.phpl. 43 - 'date_add' => array('title' => $this->l('Date'), 'width' => 90, 'align' => 'right', 'type' => 'date', 'date' => true, 'filter_key' => 'a!date_add'),+l. 34 - 'birthday' => array('title' => $this->l('Birthday'), 'width' => 60, 'type' => 'date', 'birthday' => true),l. 38 - 'date_add' => array('title' => $this->l('Registration Date'), 'width' => 60, 'type' => 'date', 'date' => true));AND FINALLY AdminTab.php after elseif from price ... aprox ... l. 1120 elseif (isset($params['price'])) echo Tools::displayPrice($tr[$key], (isset($params['currency']) ? new Currency(intval($tr['id_currency'])) : $currency), false, false);//NEW PART elseif (isset($params['date'])) echo Tools::displayDate($tr[$key], $cookie->id_lang, true, '-'); elseif (isset($params['birthday'])) echo Tools::displayDate($tr[$key], $cookie->id_lang, false, '-');...ATENTION: true - full date with hours. false - no hours, '-' - separatorNOW I'M SEARCHING A WAY SO THE FILTERS WORKING PROPERLY WITH NEW DATE FORMAT Link to comment Share on other sites More sharing options...
Ehinarr Posted July 18, 2009 Share Posted July 18, 2009 There are some news? Link to comment Share on other sites More sharing options...
Recommended Posts