fix
This commit is contained in:
@ -232,7 +232,7 @@ auto get_directory_files(std::string path, bool oldest_first,
|
||||
|
||||
auto is_modified_date_older_than(std::string_view path,
|
||||
const std::chrono::hours &hours) -> bool {
|
||||
auto modified = file{path}.get_time(file::time_types::modified);
|
||||
auto modified = file{path}.get_time(time_type::modified);
|
||||
auto seconds = std::chrono::duration_cast<std::chrono::seconds>(hours);
|
||||
return (modified + static_cast<std::uint64_t>(seconds.count()) *
|
||||
utils::time::NANOS_PER_SECOND) <
|
||||
|
Reference in New Issue
Block a user