Title: Clock error
Last modified: August 31, 2016

---

# Clock error

 *  [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/clock-error/)
 * Hi.
    Widget doesn’t display correct time. It displays fixed and incorrect, based
   on choosed timezone.
 * [https://wordpress.org/plugins/giweather/](https://wordpress.org/plugins/giweather/)

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

 *  Plugin Author [gardainformatica](https://wordpress.org/support/users/gardainformatica/)
 * (@gardainformatica)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/clock-error/#post-6966782)
 * 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](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/clock-error/#post-6966783)
 * Can I send you by PM?
 *  Thread Starter [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/clock-error/#post-6966784)
 * I understand, but it would be better to add ability to display a time clock, 
   not the time of refreshing data.
 *  Plugin Author [gardainformatica](https://wordpress.org/support/users/gardainformatica/)
 * (@gardainformatica)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/clock-error/#post-6966785)
 * 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](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/clock-error/#post-6966790)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/giweather_8a6fb8.svg)
 * [giWeather](https://wordpress.org/plugins/giweather/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/giweather/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/giweather/)
 * [Active Topics](https://wordpress.org/support/plugin/giweather/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/giweather/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/giweather/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Dani](https://wordpress.org/support/users/danicasati/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/clock-error/#post-6966790)
 * Status: not resolved