diff options
author | monsta <[email protected]> | 2015-12-01 16:01:33 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-12-01 17:02:30 +0300 |
commit | ae45abab34821e38e1135f3875a5f0f201cda3da (patch) | |
tree | 6f42d8c01efd021dad0f25a827ae41238d50513c | |
parent | 7b43e1845d8a30e92643b366b50df1d4134cb981 (diff) | |
download | mate-system-monitor-ae45abab34821e38e1135f3875a5f0f201cda3da.tar.bz2 mate-system-monitor-ae45abab34821e38e1135f3875a5f0f201cda3da.tar.xz |
process properties: use proper translatable date for "Started" property
it should be the same as in "Started" column of process table now
from
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=493b93ddf6bfb772769ca6942bf07deaac8e94bc
-rw-r--r-- | src/procproperties.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/procproperties.cpp b/src/procproperties.cpp index 26861ec..bc4993c 100644 --- a/src/procproperties.cpp +++ b/src/procproperties.cpp @@ -35,6 +35,7 @@ #include "procproperties.h" #include "proctable.h" #include "util.h" +#include "e_date.h" enum { @@ -138,7 +139,7 @@ fill_proc_properties (GtkWidget *tree, ProcInfo *info) { N_("X Server Memory"), format_memsize(info->memxserver)}, { N_("CPU"), g_strdup_printf("%d%%", info->pcpu)}, { N_("CPU Time"), g_strdup_printf(ngettext("%lld second", "%lld seconds", info->cpu_time/HZ), (unsigned long long)info->cpu_time/HZ) }, - { N_("Started"), g_strdup_printf("%s", ctime((const time_t*)(&info->start_time)))}, + { N_("Started"), procman_format_date_for_display(info->start_time) }, { N_("Nice"), g_strdup_printf("%d", info->nice)}, { N_("Priority"), g_strdup_printf("%s", procman::get_nice_level(info->nice)) }, { N_("ID"), g_strdup_printf("%d", info->pid)}, |