|
|
|
|
@ -1505,14 +1505,14 @@ gboolean on_tooltip_show(GtkWidget* self, gint x, gint y, gboolean keyboard_mode
|
|
|
|
|
gchar *formatted_deactiva = NULL;
|
|
|
|
|
if (activa) {
|
|
|
|
|
GDateTime *datetime = g_date_time_new_from_unix_local(activa);
|
|
|
|
|
formatted_activa = g_date_time_format(datetime, "%d:%M:%Y %T");
|
|
|
|
|
formatted_activa = g_date_time_format(datetime, "%d:%m:%Y %T");
|
|
|
|
|
g_date_time_unref(datetime);
|
|
|
|
|
} else {
|
|
|
|
|
formatted_activa = g_strdup(NULL_LABEL);
|
|
|
|
|
}
|
|
|
|
|
if (deactiva) {
|
|
|
|
|
GDateTime *datetime = g_date_time_new_from_unix_local(deactiva);
|
|
|
|
|
formatted_deactiva = g_date_time_format(datetime, "%d:%M:%Y %T");
|
|
|
|
|
formatted_deactiva = g_date_time_format(datetime, "%d:%m:%Y %T");
|
|
|
|
|
g_date_time_unref(datetime);
|
|
|
|
|
} else {
|
|
|
|
|
formatted_deactiva = g_strdup(NULL_LABEL);
|
|
|
|
|
@ -1524,7 +1524,6 @@ gboolean on_tooltip_show(GtkWidget* self, gint x, gint y, gboolean keyboard_mode
|
|
|
|
|
g_free(formatted_activa);
|
|
|
|
|
g_free(formatted_deactiva);
|
|
|
|
|
|
|
|
|
|
// Освобождение памяти пути
|
|
|
|
|
gtk_tree_path_free(path);
|
|
|
|
|
return TRUE;
|
|
|
|
|
}
|
|
|
|
|
|