diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-08-12 10:08:29 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-08-12 10:08:29 +0200 |
commit | f87eb3c1043d3f4f8e22ba505cd1a827241e160c (patch) | |
tree | e46351c8ec622c9d13232cf00c8a1048e55184af /src/util | |
parent | 7f667adb7b8d3a803a6cd6120dcea4ba4ff89075 (diff) | |
parent | 2333d2b06d52754a55a747fa438844286f98d53a (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/file.vala | 4 |
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) { |