• Resolved napes7

    (@napes7)


    HI Matt

    thanks for a great plugin

    My site updated to a newer version of PHP, now your default year shows as 1970.

    What have I done wrong?

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Tim Nolte

    (@tnolte)

    @napes7 I will check into this. Can you provide which version of PHP, WordPress, WooCommerce, and the plugin you are using? Also, what are your WordPress date/time formats set to?

    Your issue has been opened up here for tracking: https://github.com/mattbanks/woocommerce-local-pickup-time/issues/34

    Plugin Author Tim Nolte

    (@tnolte)

    @napes7 I have not been able to reproduce this in either my PHP 5.6/WordPress 5.1/WooCommerce 3.5.5. I really need to know your version numbers and also what Date Format & Time Format you are using in the Settings->General of your site.

    Thread Starter napes7

    (@napes7)

    Hi Tim

    Thanks for your reply, plugin version is Version 1.3.5
    Wordpress version is 5.1
    PHP is latest

    Date Format and Time format is

    j F, Y
    time is
    g:i A

    Plugin Author Tim Nolte

    (@tnolte)

    @napes7 so PHP 7.3.2? What is your WooCommerce version? And do you have any other WooCommerce plugins/extensions installed/active?

    Thread Starter napes7

    (@napes7)

    Hi Tim, yes 7.3.2

    Other plugins are
    WooCommerce Email Customizer with Drag and Drop Email
    WooCommerce Product Table
    Woocommerce Remove SKU
    WordPress HTTPS

    Woocommerce vs ersion 3.5.5

    Thread Starter napes7

    (@napes7)

    what happened was the hosting servcie was on an older version of PHP, they upgraded my hosting service automatically to 7.3.2 and that started all the trouble

    Plugin Author Tim Nolte

    (@tnolte)

    @napes7 OK, let me get another test server going with PHP 7.3.2 as my local dev environment doesn’t yet support 7.3.x. I’ll do some more testing. Thanks for the info.

    Plugin Author Tim Nolte

    (@tnolte)

    I’ve confirmed on both PHP 7.2.12 & PHP 7.3.2 that the WordPress date format of j F, Y is not being handled properly by the code. So that date format was the key not the PHP Versions, unless it does display correctly on a version pre PHP 7.2.x.

    Thread Starter napes7

    (@napes7)

    so If I go back to F j, Y, that should fix it?

    Plugin Author Tim Nolte

    (@tnolte)

    @napes7 version 1.3.6 has been released and should have this issue resolved. You should be able to use any Date/Time formatting that WordPress supports. Thanks for your patience! Please confirm if you are seeing this fixed for your install. Thanks!

    Thread Starter napes7

    (@napes7)

    Date seems to have been fixed but the time shows as 1552590000

    Plugin Author Tim Nolte

    (@tnolte)

    @napes7 you are seeing that long number as the time in the dropdown list on checkout?

    This baffles me because I have your setup working without a problem on this test site: https://wpdev3.ndigitals.com/shop/

    • This reply was modified 6 years ago by Tim Nolte.
    Thread Starter napes7

    (@napes7)

    Should I try a plugin reinstall?

    Plugin Author Tim Nolte

    (@tnolte)

    @napes7 I don’t see how a plugin reinstall is going to make any difference unless you aren’t actually running the latest version of the plugin. Can you provide me your website URL as well as your WordPress locale and timezone settings. Perhaps you could provide a screenshot of that section of your WordPress general settings so I can also see what is configured there. Can you also provide a list of all of the values you have populated in the Open/Close time for each day, as well as the other plugin option values? Also, if you can confirm where you are seeing that time value, on checkout, in the Dashboard, emails, etc. Thanks!

    Thread Starter napes7

    (@napes7)

    Hi, tried that as well.

    Anyway I can PM you my login so you can have a look on what I did wrong?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘1970….was a good year’ is closed to new replies.