summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-08-12 10:07:35 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-08-12 10:07:35 +0200
commitd0aaad443a88968dc61172c050084d3d9faa7602 (patch)
treeba9356dd1659416b3217c19bbebda413b8786021 /src/util
parentd443a3c2509889533ca812c163056bace396b586 (diff)
New upstream version 0.32.2upstream/0.32.2
Diffstat (limited to 'src/util')
-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) {