• Resolved analogyuk

    (@analogyuk)


    Hi, I have my store location timezone set to London (latest plugin version).

    When I placed a test order just now (2nd June 2020) the timestamp being saved in “delivery_date” custom field is:
    1591052400
    … which translates to 11pm on 1st June 2020 – wrong!

    The order date shows correctly as 2nd June 2020 in Woocommerce, but I can’t work out why the timezone is being saved incorrectly into the custom field.

    This is a problem as I’m then converting the timestamp back into a date to print on the automatic receipts and it’s getting the wrong date.

    I also notice that the plugin says the timezone for London is GMT/UTC +00:00, but in London right now we are actually on BST which is +01:00 from GMT/UTC. I’ve tried selecting a timezone that’s +1 hour, but that causes other issues like the available list of delivery slots being wrong by an hour at checkout.

    Any suggestions as to why the timestamp is being set to the incorrect date would be very gratefully received as I’m out of ideas now!

    Thanks in advance ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author coderockz

    (@shoroar)

    Hello @analogyuk

    The problem is fixed in our latest version. Please update the plugin.

    Thank you.

    Thread Starter analogyuk

    (@analogyuk)

    Hi, as I mentioned above I am already running the latest version 1.2.14 but still have the problem as described.

    Thread Starter analogyuk

    (@analogyuk)

    I’ve just seen you have now updated to 1.2.15 will try that – thanks!

    Thread Starter analogyuk

    (@analogyuk)

    As far as I can tell this seems to be working properly now – many thanks for getting back to me so quickly!! ??

    Plugin Author coderockz

    (@shoroar)

    Hello @analogyuk

    We get back to you because we alter our previous version code in the new version as we realize that the previous code was correct.

    To convert the timestamp back into a date to print on the automatic receipts correctly, you have to first set the timezone.

    Please contact us at [email protected] for further assistance. we will help you to get the correct date.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with saved timestamp’ is closed to new replies.