aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/entity/file_transfer.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-08-31 18:40:58 +0200
committerfiaxh <git@mx.ax.lt>2017-08-31 18:54:38 +0200
commitd2a5287effcf60a44084568a37c9c9091d336178 (patch)
tree392d24930cf5c635f114c3e4f30bfce930edf76f /libdino/src/entity/file_transfer.vala
parenta257b163376174e4f5efcbc82c9fdd56463c3191 (diff)
downloaddino-d2a5287effcf60a44084568a37c9c9091d336178.tar.gz
dino-d2a5287effcf60a44084568a37c9c9091d336178.zip
Use utc time everywhere
Diffstat (limited to 'libdino/src/entity/file_transfer.vala')
-rw-r--r--libdino/src/entity/file_transfer.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/entity/file_transfer.vala b/libdino/src/entity/file_transfer.vala
index 7a752518..10fe99f5 100644
--- a/libdino/src/entity/file_transfer.vala
+++ b/libdino/src/entity/file_transfer.vala
@@ -52,8 +52,8 @@ public class FileTransfer : Object {
ourpart = account.bare_jid;
}
direction = row[db.file_transfer.direction];
- time = new DateTime.from_unix_local(row[db.file_transfer.time]);
- local_time = new DateTime.from_unix_local(row[db.file_transfer.time]);
+ time = new DateTime.from_unix_utc(row[db.file_transfer.time]);
+ local_time = new DateTime.from_unix_utc(row[db.file_transfer.time]);
encryption = (Encryption) row[db.file_transfer.encryption];
file_name = row[db.file_transfer.file_name];
path = row[db.file_transfer.path];