1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-02 05:57:46 +00:00

stat: use chrono instead of time in fsext (#5934)

* stat: use chrono instead of time in fsext

This removes the dependency of `fsext` on `time` and it cleans up the code.

* stat: use chrono instead of time in fsext

This removes the dependency of `fsext` on `time` and it cleans up the code.

* stat: fix two errors from clippy & spell-checker

* stat: move fn to fix clippy error

* stat: print - if birth time unknown

* uucore/fsext: fix "unused import" error on Windows

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
This commit is contained in:
Terts Diepraam 2024-02-19 10:21:26 +01:00 committed by GitHub
parent 33785c93a3
commit 177ac7ea28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 26 additions and 66 deletions

1
Cargo.lock generated
View file

@ -2909,6 +2909,7 @@ dependencies = [
name = "uu_stat"
version = "0.0.24"
dependencies = [
"chrono",
"clap",
"uucore",
]