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:
parent
8a3007efff
commit
74b54074e1
6 changed files with 10 additions and 21 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue