diff options
Diffstat (limited to 'src/util/file.vala')
-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) { |