Results 1 to 10 of 36

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Posts
    86
    Plugin Contributions
    0

    Default Re: Time Zone Offset Problem

    i use zencart 1.38a, do i need to update time zone offset mod to the newest version published on may 2nd 2010 ?

  2. #2
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Time Zone Offset Problem

    Quote Originally Posted by bear1728 View Post
    i use zencart 1.38a, do i need to update time zone offset mod to the newest version published on may 2nd 2010 ?
    No you don't
    Use the files for 1.38a

  3. #3
    Join Date
    Jul 2009
    Posts
    86
    Plugin Contributions
    0

    Default Re: Time Zone Offset Problem

    thanks
    then what do i set the customer reviews time to my local time?

  4. #4
    Join Date
    Jul 2009
    Posts
    86
    Plugin Contributions
    0

    Default Re: Time Zone Offset Problem

    i didn't notice your first response to my questions

    i check that post then, i find totally 2 now() concerning reviews

    /admin/reviews.php
    Line #30 : last_modified = now() where reviews_id = '" . (int)$reviews_id . "'");

    /includes/modules/pages/product_reviews_write/header_php.php
    VALUES (roductsID, :customersID, :customersName, :rating, now(), " . $review_status . ")";

    i should modify these 2 now() above? or any other files i need to modify?

  5. #5
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Time Zone Offset Problem

    Quote Originally Posted by bear1728 View Post
    i didn't notice your first response to my questions

    i check that post then, i find totally 2 now() concerning reviews

    /admin/reviews.php
    Line #30 : last_modified = now() where reviews_id = '" . (int)$reviews_id . "'");

    /includes/modules/pages/product_reviews_write/header_php.php
    VALUES (roductsID, :customersID, :customersName, :rating, now(), " . $review_status . ")";

    i should modify these 2 now() above? or any other files i need to modify?
    I have never used reviews so have never had the need to alter these.
    The 2 lines look right so try it and see if it works correctly for you

  6. #6
    Join Date
    Jul 2009
    Posts
    86
    Plugin Contributions
    0

    Default Re: Time Zone Offset Problem

    i modified those 2 files, it works

  7. #7
    Join Date
    Jul 2009
    Posts
    86
    Plugin Contributions
    0

    Default Re: Time Zone Offset Problem

    hello, i installed the mod GOB Package Trackers from http://www.zen-cart.com/index.php?ma...oducts_id=1427, when i update the order status from admin, the time i set for my site is replaced by the server time for date added in status table.
    i tried changing now() to date_add(now(), INTERVAL " . TIME_ZONE_OFFSET . " HOUR) in admin/orders.php and /admin/package_trackers.php, but it still doesn't work.
    could you help ? thanks.

 

 

Similar Threads

  1. Time Zone Offset problem
    By trappersam in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 18 Oct 2007, 12:08 PM
  2. Time Zone Offset
    By harry2cool in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 26 Jul 2006, 09:31 PM

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