[gnome-disk-utility] Don't use second-precision in the "Last Benchmarked" label



commit 03d75401411677d3dbe2e5a97dd877758e934d7e
Author: David Zeuthen <zeuthen gmail com>
Date:   Thu Nov 15 13:23:44 2012 -0500

    Don't use second-precision in the "Last Benchmarked" label
    
    This was requested in bug 685412.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685412
    
    Signed-off-by: David Zeuthen <zeuthen gmail com>

 src/disks/gdubenchmarkdialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/disks/gdubenchmarkdialog.c b/src/disks/gdubenchmarkdialog.c
index 8f8be0a..ee992dd 100644
--- a/src/disks/gdubenchmarkdialog.c
+++ b/src/disks/gdubenchmarkdialog.c
@@ -687,7 +687,7 @@ update_updated_label (DialogData *data)
           time_benchmarked_str = g_date_time_format (time_benchmarked_dt_local, "%c");
 
           s = gdu_utils_format_duration_usec ((now_usec - data->bm_time_benchmarked_usec),
-                                              GDU_FORMAT_DURATION_FLAGS_NONE);
+                                              GDU_FORMAT_DURATION_FLAGS_NO_SECONDS);
           /* Translators: The first %s is the date and time the benchmark took place in the preferred
            * format for the locale (e.g. "%c" for strftime()/g_date_time_format()), for example
            * "Tue 12 Jun 2012 03:57:08 PM EDT". The second %s is how long ago that is from right



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]