From e61d707a3c572bc879bfb1e5df6623a0b979b9e5 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Mon, 4 Jul 2011 11:55:53 +0200 Subject: [PATCH] Correzione in Solipa::tm_to_gdatetime. --- src/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.c b/src/utils.c index 5a2dc17..69347df 100644 --- a/src/utils.c +++ b/src/utils.c @@ -650,8 +650,8 @@ GDateTime ret = NULL; if (tm_data != NULL) { - ret = g_date_time_new_local (tm_data->tm_year, - tm_data->tm_mon, + ret = g_date_time_new_local (tm_data->tm_year + 1900, + tm_data->tm_mon + 1, tm_data->tm_mday, tm_data->tm_hour, tm_data->tm_min, -- 2.49.0