[gnome-todo] task: use UTC for storing due date
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] task: use UTC for storing due date
- Date: Tue, 23 Feb 2016 16:44:17 +0000 (UTC)
commit c6bae5b48c03ee21d01cb8c087c8c6372d7ad18d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Feb 23 13:43:47 2016 -0300
task: use UTC for storing due date
src/gtd-task.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gtd-task.c b/src/gtd-task.c
index 83c59d1..062785f 100644
--- a/src/gtd-task.c
+++ b/src/gtd-task.c
@@ -450,7 +450,7 @@ gtd_task_set_complete (GtdTask *task,
if (complete)
{
- GDateTime *now = g_date_time_new_now_local ();
+ GDateTime *now = g_date_time_new_now_utc ();
percent = 100;
status = ICAL_STATUS_COMPLETED;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]