• Resolved jacksson123

    (@jacksson123)


    Hi support, first would like to thanks for creating such awesome plugin

    and i would like to point out when customer send order receipt to us, the timezone showed is universal time and not local time which set by us, can fix this problem?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hallo. For me is working.

    You can check your Hour here.

    WP Settings >> General >> Hours

    Setup your local zone

    By setting time zone to UTC+ it is updating only the orders in woocommerce, but the order details sent in whatsapp message shows still the UTC time.
    This problem can be solved by a little modification at code level.
    If interested to know the solution, please contact.

    • This reply was modified 4 years, 4 months ago by rk8s.

    @rk8s I would like to know the solution..
    pls share it..

    How can I contact u???

    Since the author is not updating, it is not suitable to share here.
    I have also posted a query about double appearance of button.

    • This reply was modified 4 years, 3 months ago by rk8s.
    Thread Starter jacksson123

    (@jacksson123)

    How to contact you for the solution? Please help to fix this problem

    I have 100% solved it by a little modification of the code and using this plugin. However, I am getting a different problem of double button appearance- the author of such a beautiful plugin is not responding. I am busy with other commitments so unable to focus on the solution part of double button appearance. mail me at [email protected] to get your solution.

    Please check “wa-button.php” file in “includes” folder.
    Replace this line
    $date = $order->get_date_created()->format (‘F j, Y – g:i A’);

    by

    $date = date( ‘F j, Y – g:i A’, $order->get_date_created ()->getOffsetTimestamp());

    That’s all. Now it will show local time
    Be Sure to Setup your local zone in WP Settings > General > timezone

    Plugin Author walterpinem

    (@walterpinem)

    Hi all.

    Really sorry for the inconvenience.
    I just updated the plugin and fixed the issue.
    Now you have the option to include or exclude the Order Date on the message.
    Please test it.

    ALso thanks to @rk8s for pointing out a solution, it inspires me.

    I’m making this topic as resolved.
    If you’re having another issue, please don’t hesitate to open a new topic.

    Best regards,

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Hi, time zone capture is using universal time not local time’ is closed to new replies.