1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 20:17:45 +00:00

ls, date: refactor common code for formatting a datetime (#7194)

* refactoring ls and date

* Refactored and integrated ls and date and added tests to the new feature

* Style refactoring
This commit is contained in:
Tommaso Fellegara 2025-01-22 17:39:00 +01:00 committed by GitHub
parent e9aa8a58fd
commit 93e3d08d5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 80 additions and 57 deletions

7
Cargo.lock generated
View file

@ -2617,9 +2617,7 @@ name = "uu_date"
version = "0.0.29"
dependencies = [
"chrono",
"chrono-tz",
"clap",
"iana-time-zone",
"libc",
"parse_datetime",
"uucore",
@ -2879,11 +2877,9 @@ version = "0.0.29"
dependencies = [
"ansi-width",
"chrono",
"chrono-tz",
"clap",
"glob",
"hostname",
"iana-time-zone",
"lscolors",
"number_prefix",
"once_cell",
@ -3472,6 +3468,8 @@ version = "0.0.29"
dependencies = [
"blake2b_simd",
"blake3",
"chrono",
"chrono-tz",
"clap",
"crc32fast",
"data-encoding",
@ -3481,6 +3479,7 @@ dependencies = [
"dunce",
"glob",
"hex",
"iana-time-zone",
"itertools 0.14.0",
"lazy_static",
"libc",