Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,513
    Plugin Contributions
    126

    Default How to specify Time Zone since v152 (TimeZone, TZ, GMT)

    Assuming you have an up to date PHP and Zen Cart, you no longer need plugins to do this - just edit

    includes/extra_configures/set_time_zone.php

    and set the time zone variable $TZ for your timezone.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: New way to specify Time Zone (TimeZone, TZ, GMT)

    Isn't this or wasn't this the reason for that file specifically? Just curious what initiated this post as for someone that has been working with ZC now for a few years, that seemed like that was all that was needed was the change in the file. Didn't seem like anything "new" now a year and a half later...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,513
    Plugin Contributions
    126

    Default Re: New way to specify Time Zone (TimeZone, TZ, GMT)

    Yes, this is the reason for this file. It was introduced in 1.5.2. Prior to that you needed a plugin. That's why I said, "you no longer need plugins to do this."
    I had forgotten how to do this, and the search I did led to old plugins and outdated advice. But I'll update the title of this thread so it says "Post 1.5.2" rather than "New" for clarity.
    Last edited by swguy; 17 May 2016 at 01:36 PM.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Post 1.5.2 way to specify Time Zone (TimeZone, TZ, GMT)

    Quote Originally Posted by swguy View Post
    Yes, this is the reason for this file. It was introduced in 1.5.2. Prior to that you needed a plugin. That's why I said, "you no longer need plugins to do this."
    I had forgotten how to do this, and the search I did led to old plugins and outdated advice. But I'll update the title of this thread so it says "Post 1.5.2" rather than "New" for clarity.
    Ahhh, now I get it. Note to self and all those that continue searching for something "newer" to address the timezone issue. Yeah, I know that I find myself trying to recall where it's tucked away but had also stored such a link in a message folder I have for those little tidbits. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Aug 2006
    Location
    Denver CO
    Posts
    63
    Plugin Contributions
    0

    Default Re: Post 1.5.2 way to specify Time Zone (TimeZone, TZ, GMT)

    Thank you! This is one of the things I had forgotten since the last time I worked with Zen Cart. You just saved me from searching files :)

    Dorothy

 

 

Similar Threads

  1. How to change the GMT time zone
    By section1 in forum General Questions
    Replies: 2
    Last Post: 14 Oct 2008, 03:43 PM
  2. How to change time for GMT in Admin
    By tempestade in forum General Questions
    Replies: 2
    Last Post: 13 Oct 2007, 12:18 PM
  3. How to adjust GMT versus local time?
    By paults in forum General Questions
    Replies: 4
    Last Post: 8 Jul 2006, 06:04 AM

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