So here we go! This will only edit the timestamp in the Admin section. You can edit the same file in catalog/ if you wish to do this to the customer side.
In admin/languages/english/english.php
Find:
Code: Select all
$_['date_format_short'] = 'd/m/Y';
Code: Select all
$_['date_format_shortTS'] = 'd/m/Y - g:i:s A'; //Displays date - time 01/01/2010 - 12:00:00 AM
http://php.net/manual/en/function.date.php
Now you will need to edit this file to change the Date Ordered from just a date to a timestamp.
/admin/controller/sale/order.php <-- Let's you see it on the Order History and Order page
/admin/controller/common/home.php <-- let's you see it on the Dashboard
/admin/controller/sale/customer.php <-- Let's you see it on the Customer page
Find all instances of date_format_short and change it to date_format_shortTS. Do this to the pages in the admin where you would want more than just the date.
The pages in the /admin/ that use date_format_short are...
/admin/controller/sale/order.php
/admin/controller/catalog/review.php
/admin/model/sale/order.php
/admin/controller/localisation/currency.php
/admin/controller/report/sale.php
/admin/controller/common/home.php
/admin/controller/user/user.php
/admin/controller/sale/customer.php
/admin/controller/sale/coupon.php
I hope all can enjoy this simple edit!!!
Gil