From ae45abab34821e38e1135f3875a5f0f201cda3da Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 1 Dec 2015 16:01:33 +0300 Subject: 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 --- src/procproperties.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)}, -- cgit v1.2.1