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)
I understand, but it would be better to add ability to display a time clock, not the time of refreshing data.
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?