News:

Looking for documentation? Take a look on our wiki

Main Menu

Order time is wrong

Started by mauri, August 20, 2009, 21:55:35 PM

Previous topic - Next topic

mauri

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
VirtueMart,(Joomla-phpShop, mambo-phpShop) since 2004-03-11

Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.