VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Roccofx1 on March 09, 2016, 10:24:14 AM

Title: VM3 - How to adjust VM time? end date is wrong
Post by: Roccofx1 on March 09, 2016, 10:24:14 AM
Hi, I have Joomla 3.4.8 and VM 3.0.12

How to adjust VM time?

Last day for selling with "Tax & Calculation Rule Details" says march 10, but insted of ending at march 10 at 24:00 hours it ended at march 8 at 24:00 hours, so the calendar must be wrong configurated, how to fix it?

Please Help
Title: Re: VM3 - How to adjust VM time? end date is wrong
Post by: Studio 42 on March 10, 2016, 09:48:44 AM
This is a problem because UTC time.
When you enter the time in back-end, this is your current local time
But when this is compared, this use php time and is not UTC so you need to use UTC time, but in VM you cannot set hours, so you cannot correct this.
A little complicate to understand :)
Title: Re: VM3 - How to adjust VM time? end date is wrong
Post by: Jörgen on March 10, 2016, 09:56:49 AM
Hello Patrick

But I dont understand how the time could be wrong for more than 24 hours. In his case 48 hours, two Days ? If we were talking about hours then I could understand Your explanation. There must be some other problem behind this.


regards

Jörgen @ Kreativ Fotografi
Title: Re: VM3 - How to adjust VM time? end date is wrong
Post by: Studio 42 on March 10, 2016, 14:20:34 PM
Perhaps server time is bad ?
I don't have see this was 2 days, i know you have problem with time, not with the days. So forget my answer if you have more then 24 hours difference
Title: Re: VM3 - How to adjust VM time? end date is wrong
Post by: Roccofx1 on March 11, 2016, 10:34:56 AM
Thanks a lot Studio 54, that was it, its a hudge problem in VM3 u cant set hours, it would be really cool if we can set an automatic exact time for product to stop selling.

Title: Re: VM3 - How to adjust VM time? end date is wrong
Post by: Jörgen on March 11, 2016, 10:57:59 AM
What was wrong ?

Was the server time wrong with two days?
Or was there something else wrong ?

regards

Jörgen @ Kreativ Fotografi