• Resolved alkmaarinabox

    (@alkmaarinabox)


    I am happy with the plugin, but it seems that the countdown on my website has a 1-hour difference with the official time. Could this be a bug in the plug-in?

    Timer example: Suppose there are 3 hours left, the widget says there are 4 hours left.

    I hope someone can help me!

    Kind regards,

    Dylan

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    Check and see if the timezone setting are correct under:
    Dashboard > Settings > General > Timezone

    Plugin Contributor twinpictures

    (@twinpictures)

    If the TimeZone setting is correct and the time is still off, it’s most likely due to the page being cached. If you are using a caching plugin, you’ll need to prevent the page with the countdown from being cached.

    As you can imagine, if the countdown is based on a page created in the past… the time calculations will not reflect the present.

    Thread Starter alkmaarinabox

    (@alkmaarinabox)

    Thank you for your response.

    The time zone was OK and I could not find something to prevent the page explicitly with the countdown from being cached.

    Moreover, in customizer the countdown is OK, but when I switch to live there is a 1-hour difference.

    To solve this problem, I can switch to another city and its corresponding timezone, but this is not the ideal solution ofcourse.

    Plugin Contributor twinpictures

    (@twinpictures)

    to be clear, the countdown is the one under “Wij zijn al aan het aftellen!”, correct?
    This countdown has the following details:

    targetDate: {
       'day':   25,
       'month': 12,
       'year': 2019,
       'hour': 00,
       'min':  00,
       'sec':  00,
       'localtime': '7/1/2019 11:59:12',
    }

    If the site is located in NL, then the local time is correct.
    Is this the countdown that is one hour off?

    Thread Starter alkmaarinabox

    (@alkmaarinabox)

    The site is indeed located in NL and this is the countdown that is one hour off.

    Plugin Contributor twinpictures

    (@twinpictures)

    could this be the hour that ‘falls behind’ during Daylight savings in the Autumn?

    Thread Starter alkmaarinabox

    (@alkmaarinabox)

    That could indeed be possible, but how can I fix it?

    Plugin Contributor twinpictures

    (@twinpictures)

    well, you can do a few tings.
    1. Petition your government to abolish the outdated practice of daylight savings
    2. Improve your understanding of how time works, and accept that the countdown timer is, in fact, correct as Sunday, 27 October 2019 only has 23 hours.
    3. Set the timer to countdown to an hour later: (2019-25-12 01:00:00), but then reset it along with your kitchen clock on October 27.

    Issue marked as resolved.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘One hour difference’ is closed to new replies.