summaryrefslogtreecommitdiff
path: root/src/util/file.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-08-17 17:10:12 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-08-17 17:10:12 +0200
commit008bc99860fd353a5da5d06e6be5937f4a358aed (patch)
treed50b38f704b90b83895a21fd610bcf78c31b2cc9 /src/util/file.vala
parent4ec8ba6ace7234ddc24a7d362a34d9055a83812c (diff)
parent7eef6a59ba38582bed5d459974211eb1f53e1f5d (diff)
Merge branch 'release/debian/0.32.2-1'debian/0.32.2-1
Diffstat (limited to 'src/util/file.vala')
-rw-r--r--src/util/file.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/file.vala b/src/util/file.vala
index 652a141..6d9252e 100644
--- a/src/util/file.vala
+++ b/src/util/file.vala
@@ -158,8 +158,8 @@ public void delete_all_files(File dir, Gee.Set<string>? exceptions = null, Progr
public DateTime query_file_modified(File file) throws Error {
FileInfo info = file.query_info(FileAttribute.TIME_MODIFIED, FileQueryInfoFlags.NOFOLLOW_SYMLINKS,
null);
-
- return info.get_modification_date_time();
+
+ return coarsify_date_time(info.get_modification_date_time());
}
public bool query_is_directory(File file) {