• Resolved painlessseo

    (@painlessseo)


    Hello Hans,

    Today I’m checking the weather using your awesome plugin and I found it still shows the Daylight Saving Time. Today is the day when we went back to the Standard Time. This is the setting I use https://ibb.co/Hz2Z4gX

    I was wondering if the time comes from the API, which is Open-Meteo in my case.

    Thank you!

    Rob

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

    (@tuxlog)

    Hi Rob,

    do you use OpenMeteo or Openweather and please give me the location of the weather widget, so I can try to rebuild the problem.

    Thanks.

    Thread Starter painlessseo

    (@painlessseo)

    Hi Hans, my bad, I should have provided more context for you to debug.

    I’m using the default Open-Meteo. Please use this location to replicate the issue: https://ibb.co/VgcgmL6

    Thank you so much!
    Rob

    Plugin Author tuxlog

    (@tuxlog)

    Thank you, so I see nothing special about Nashville conerncing timezones, it is GMT-6 = CST. Looking at the plugin if you activate localtime the time will be taken from your blog with the following function calls:

    $w['blogdate'] = date_i18n( $wpf_vars['fc_date_format'], $ct );
    $w['blogtime'] = date_i18n( $wpf_vars['fc_time_format'], $ct );

    If you do not activate local time the time from the weatherprovider is taken.

    Can you check if your server has the correct time after switching daylight saving and have a look at your WordPress setup if it has the correct timezone.

    Maybe this can be the reason. I just checked some of my wp-forecast installations and it seems to work.

    Cheers, Hans

    Thread Starter painlessseo

    (@painlessseo)

    Hi Hans, thank you so much for looking into this for me. I disabled the local time option and now it is working as expected. I thought ‘local time’ referred to the visitor’s local time. Turns out, it actually means the server’s time.

    Again, thank you!

    Thread Starter painlessseo

    (@painlessseo)

    Resolved!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.