An admin area to set how date is displayed would be good.
Month/Day/Year or Day/Month/Year
An admin area to set how date is displayed would be good.
Month/Day/Year or Day/Month/Year
Yes, it certainly would... along with a timezone setting. We've been planning both for awhile but haven't added them yet. I'll sticky this thread so it gets more attention.
Thanks,
Jamie
PHP shopping cart software - Squirrelcart
Please rate or review us!![]()
Hotscripts ● PHP Resource Index
I edited core files to get dates in DD/MM/YYYY format, if date format could be set from template files or from the admin area it would save me a lot of trouble when I do upgrades - I'm scared off doing upgrades because of this.![]()
Hey RobC
Did you by any chance edit order_detail.tpl.php? I managed to change the dates in order history but when I tried to change the date for order_detail, it just appeared as ' / / '.
Original php:
<?php print $Status['Date'] ?>
My php:
<?php print $Status['Day'] ?>/<?php print $Status['Month'] ?>/<?php print $Status['Year'] ?>
Any help would be fab!
thanks
Change this:
To this:PHP Code:<?php print $Status['Date'] ?>
PHP Code:<?php print date('d/m/Y',strtotime($Status['Date'])) ?>
Thanks,
Jamie
PHP shopping cart software - Squirrelcart
Please rate or review us!![]()
Hotscripts ● PHP Resource Index
awesommeeeeee.
thanks![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)