Author Topic: shop time not correct  (Read 4861 times)

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
shop time not correct
« on: May 21, 2014, 09:03:45 AM »
Hello,
I dont know how to make my orders to show time in my time zone.
My server is set to my timezone and i have changed to my country in AbanteCart admin but it still shows all my orders with AM/PM format and there is a 7hours difference. I think its set to US eastern time.

Is this possible to fix and how?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: shop time not correct
« Reply #1 on: May 21, 2014, 09:10:15 AM »
Be sure that your php have timezone directive in your php.ini.
Also try to ask google about it
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline webdevmerc

  • Full Member
  • ***
  • Posts: 172
  • Karma: +32/-1
    • View Profile
Re: shop time not correct
« Reply #2 on: August 03, 2015, 09:58:14 AM »
Hi,

I have had this time issue with my site since I started.  Since it doesn't seem to affect many other people, I'm probably just missing something simple...That said, my store time is the same as my server time, but off by 1 hour from my desired php.ini timezone setting (date.timezone = "America/Los_Angeles")

Orders come in the same as the server time and checking phpinfo shows the timezone of Los_Angeles is there, but the time for the order is still off by an hour in Abantecart.  Just wondering what else I can check to fix this.

On a shared server so using:
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/USER/public_html
<Files php.ini>
order allow,deny
deny from all
</Files>
</IfModule>

Not sure if it's an issue with Daylight savings time or timezones or if there is another settting in Abantecart I am missing.  I have looked through all the localization settings in Abantecart, but don't see if anything can be changed.

Offline webdevmerc

  • Full Member
  • ***
  • Posts: 172
  • Karma: +32/-1
    • View Profile
Re: shop time not correct
« Reply #3 on: August 03, 2015, 03:55:32 PM »
I wanted to ask if maybe this is just working as it should actually.  Playing around a lot of with it, from the Orders page, if you open an order detail, you see:

<SAMPLE> (Time is 1 hour off)
Order Summary
Order ID:    #28    Order Status:    Processing
Customer:    Test Customer   E-Mail:    buyer@store.com
Date Added:    08/03/2015 01:46:14 PM

However, if you click on the "Status and Comments" tab, I see that the time in the Transaction Timestamp is correct:
Customer's order comment
Order id: 28
Charge id: sd_234HJKFSD8F9389234234
Transaction Timestamp: 08/03/2015 12:46:31

Is everyone else's website working in this manner?

TL:DR - Is the admin tool info is based on the server timezone and some fields based on the timezone setting?

Thanks for any clarification if things are just operating normally here.

From the customer's dashboard, the order is 1 hour ahead as well.

 

Powered by SMFPacks Social Login Mod