News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Incorrect time displays in "Order history"

Started by TheRealMaN_, September 03, 2012, 06:39:02 AM

Previous topic - Next topic

TheRealMaN_

Just noticed incorrect order time displays in "order history", no matter what time zone set in joomla config, couldn't fix it. Can anyone check this? How can I correct time?

VM2.0.10 on Joomla 1.5.26 PHP 5.3.14

Milbo

What do you mean with incorrect order time? everything is 0000?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

TheRealMaN_

No, e.g., my server local time is 7.35 am, but it shows 3.35 am (always minus 4 hours). How can I adjust it? It doesn't help if I change joomla configuration time zone.

nhamhongtien


maxxer

Same problem, latest J and VM (2.0.14). Order history is in UTC while we're +1

randomdev

Same problem. Time in backend looks fine but in customers order history is wrong

randomdev

I fixed it using the following in the override for orders/details_history.php
Comment out first line and paste the second.

<?php //echo $_hist->created_on; ?>
<?php echo vmJsApi::date($_hist->created_on,'LC2',true); ?>

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

toad78

How would it work to fix the FORMAT of the date/time displayed in the backend (Virutemart>Orders). I've been having a heck of a time trying to format the date to be Day, Month Date, Year with the correct 12 hour time.

Instead, it displays Day, Date Month, Year and uses 24 hour time.

Thank you.


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

toad78