Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2008
    Posts
    22
    Plugin Contributions
    0

    Default Setting Time Zone clarification

    I've been doing some reading here, and am I correct in saying that changing the setlocale parameter in Zen Cart (via english.php) does not result in the time zone being updated?

    And this is why contribs like Time Zone Offset are needed?

    If so, is this a bug?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Setting Time Zone clarification

    Not at all...

    This is due to grabbing the server time and this may or may not be your time so you need a method to off set server time plus or minus to your time.

    Only if it make a difference to you or your customers.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: Setting Time Zone clarification

    What I mean is, if I have change the Zen Cart setlocale directive to my local locale, shouldn't the dates and times that Zen Cart uses be my local time and date?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Setting Time Zone clarification

    It will process against the server time in all cases and I think that the default locale is GMT - then the server time against that
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Apr 2007
    Location
    Sydney
    Posts
    109
    Plugin Contributions
    0

    Default Re: Setting Time Zone clarification

    Sorry after reading this thread I still don't understand.

    On my local machine the setlocale value is the default value i.e. "en_US.ISO_8859-1", but the store time is Sydney time, same as my WinXP's clock.

    On my US server at Boston the store time is the local time at Boston.

    So ZC seems to simply grab the server time. What are we supposed to do with the setlocale value?

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Setting Time Zone clarification

    On my US server at Boston the store time is the local time at Boston.
    Get the time off set module from the downloads section: http://www.zen-cart.com/index.php?ma...roducts_id=145
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v154 time zone setting warning
    By kgovett in forum General Questions
    Replies: 2
    Last Post: 16 Jan 2016, 01:40 AM
  2. Advice/clarification needed on setting up to accept 2 currencies
    By iddy in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 6 Mar 2011, 12:58 AM
  3. Setting Time Zone
    By axl23 in forum General Questions
    Replies: 2
    Last Post: 16 Dec 2006, 06:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR