VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: sscheidegger on January 10, 2012, 15:41:19 PM

Title: Wrong time in confirmation email
Post by: sscheidegger on January 10, 2012, 15:41:19 PM
Hi all

In the confirmation emails, it shows the date and time on the top right. However, the time is not correct, in my case it's one hour off. After I configured Joomla correctly (GMT+1 for me), the time is displayed correctly in the VM BE in the order details, but the confirmation email is still wrong.

How can this be fixed?
Title: Re: Wrong time in confirmation email
Post by: Cleanshooter on January 10, 2012, 16:44:36 PM
What time is shown in the BE in the Order pane?  I'm wondering if it is getting stored incorrectly or displaying incorrectly.  If you check you mySQL database in the Orders table the "created on" date is the one getting displayed.  Is the time there also incorrect?
Title: Re: Wrong time in confirmation email
Post by: sscheidegger on January 10, 2012, 18:57:42 PM
It is stored correctly. In the beginning it was wrong also in the BE in the orders pane. But after I had set the Joomla time zone, it shows there correctly. (So it seems to store the correct UTC value and if the time zone is known, it shows also the correct local time in the BE). Now it's only in the confirmation emails that it shows incorrect time (the UTC time instead of the local time I guess).