]> Pileus Git - aweather/commitdiff
Give NWS more time to update their servers
authorAndy Spencer <andy753421@gmail.com>
Sat, 10 Sep 2011 18:44:35 +0000 (18:44 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 10 Sep 2011 18:44:35 +0000 (18:44 +0000)
For onthe8 image fetching:
  12:48 -> 12:38
  12:49 -> 12:48

src/plugins/radar.c

index ff888f4a65fd40dbafcc8f2d2f28a46c33a60ef7..a994b2341715133ee37fbeecc48cada353bb8720 100644 (file)
@@ -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,