X-Git-Url: http://pileus.org/git/?p=aweather;a=blobdiff_plain;f=src%2Fplugins%2Fradar.c;h=a994b2341715133ee37fbeecc48cada353bb8720;hp=ff888f4a65fd40dbafcc8f2d2f28a46c33a60ef7;hb=eb037da8431007a9a3341771e04ebbe2c7229544;hpb=a3b76a5f5ea0eae26585012e867f69bd9307c5ae diff --git a/src/plugins/radar.c b/src/plugins/radar.c index ff888f4..a994b23 100644 --- a/src/plugins/radar.c +++ b/src/plugins/radar.c @@ -495,7 +495,7 @@ gpointer _conus_update_thread(gpointer _conus) * the index pages get cached and out of date */ struct tm tm; gmtime_r(&conus->time, &tm); - time_t onthe8 = conus->time - 60*((tm.tm_min+2)%10); + time_t onthe8 = conus->time - 60*((tm.tm_min+1)%10+1); gmtime_r(&onthe8, &tm); nearest = g_strdup_printf("Conus_%04d%02d%02d_%02d%02d_N0Ronly.gif", tm.tm_year+1900, tm.tm_mon+1, tm.tm_mday,