]> granicus.if.org Git - transmission/commitdiff
(trunk gtk) #1588: bandwidth scheduler should display timestamps according to the...
authorCharles Kerr <charles@transmissionbt.com>
Thu, 11 Dec 2008 16:35:19 +0000 (16:35 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Thu, 11 Dec 2008 16:35:19 +0000 (16:35 +0000)
gtk/tr-prefs.c

index fd8d9c9a166a9a8ae19378283401e6b73725f4ee..9289dcae6f260fc8b04eb3087decfcd43f6e3a94 100644 (file)
@@ -1117,7 +1117,8 @@ new_time_combo( GObject *    core,
         struct tm   tm;
         tm.tm_hour = i / 60;
         tm.tm_min = i % 60;
-        strftime( buf, sizeof( buf ), "%I:%M %p", &tm );
+        tm.tm_sec = 0;
+        strftime( buf, sizeof( buf ), "%X", &tm );
         gtk_list_store_append( store, &iter );
         gtk_list_store_set( store, &iter, 0, i, 1, buf, -1 );
     }