VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: mauri on August 20, 2009, 21:55:35 PM

Title: Order time is wrong
Post by: mauri on August 20, 2009, 21:55:35 PM
Nightly build 18.8.2009
Order times are wrong +3 hours.
Local time 19:05:19 , order time 22:05:19.

Linux
MySql:  5.0.66a  
PHP:  5.2.9  apache2handler

Can it be a server settings issue?
I made short php script to get times.
Result:
$_SERVER["REQUEST_TIME"] = 1250784319 = 16:05:19
strftime( "%z", time() ) = +0300
strftime( "%Z", time() ) = EEST

time() = 1250784319     = 16:05:19
strftime("%H:%M:%S")    = 19:05:19 This is OK,my local time.
date("G:i:s")       = 19:05:19 This is OK,my local time.

VM order time + J! offset +3
strftime("%H:%M:%S",$vm_timestamp_offset) = 22:05:19
date("G:i:s",$vm_timestamp_offset)     = 22:05:19
Title: Re: Order time is wrong
Post by: Jörgen on June 21, 2010, 18:14:49 PM
Hello Mauri

Did You ever get this resolved ?

My order time is one hour wrong (+3h) but when i create Joomla content it is correct (+2h). Daylight saving i included in the joomla offset.

best regards

Jörgen Hübner