1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

deps: bump time from 0.3.17 to 0.3.20 (#4643)

This commit is contained in:
Terts Diepraam 2023-03-26 21:47:12 +02:00 committed by GitHub
parent 8a3007efff
commit 74b54074e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 21 deletions

View file

@ -618,7 +618,7 @@ fn test_mv_update_option() {
at.touch(file_a);
at.touch(file_b);
let ts = time::OffsetDateTime::now_local().unwrap();
let ts = time::OffsetDateTime::now_utc();
let now = FileTime::from_unix_time(ts.unix_timestamp(), ts.nanosecond());
let later = FileTime::from_unix_time(ts.unix_timestamp() + 3600, ts.nanosecond());
filetime::set_file_times(at.plus_as_string(file_a), now, now).unwrap();