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

    (@gardainformatica)

    Hi danicasati,

    Can you include a link to your site, so that we can see the problem?

    Remember that the forecasts are displayed with an interval of three hours (It depends on the service OpenWeathermap). So you see the next forecast (or the forecast selected), not the current time.

    Thread Starter Dani

    (@danicasati)

    Can I send you by PM?

    Thread Starter Dani

    (@danicasati)

    I understand, but it would be better to add ability to display a time clock, not the time of refreshing data.

    Plugin Author gardainformatica

    (@gardainformatica)

    The time is the time of the forecast.

    We will evaluate whether to add this option in a future release .

    Or siply modify giweather code:

    File giweather\extras\lib_giweather\json\giweather.php
    Line: 121

    Before:
    echo date_i18n( “D, d H:i”, $fc[‘dt’], false );

    After:
    echo date_i18n( “D, d H:i”, time(), false );

    Thread Starter Dani

    (@danicasati)

    This code resolve it.
    Just one question: is time refreshing?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Clock error’ is closed to new replies.