Skip to content

Commit 8b13688

Browse files
committed
date: comprehensive GNU compatibility improvements
This commit combines multiple date utility improvements: - Leap year and month arithmetic for GNU compatibility - Military timezone parsing and debug functionality - Negative date arithmetic with - operator - Comprehensive tests for GNU arithmetic compatibility - UTC timezone interpretation fixes for --utc flag - RFC822 format fixes to use English locale - Complex timezone format specifier parsing and width padding - System timezone display for GNU compatibility - ISO/RFC output format improvements - Various bug fixes and improvements This is a combined commit that needs to be split into logical PRs.
1 parent b9798da commit 8b13688

File tree

5 files changed

+820
-111
lines changed

5 files changed

+820
-111
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/uu/date/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jiff = { workspace = true, features = [
3939
"tzdb-concatenated",
4040
] }
4141
parse_datetime = { workspace = true }
42+
regex = { workspace = true }
4243
uucore = { workspace = true, features = ["parser", "i18n-datetime"] }
4344

4445
[target.'cfg(unix)'.dependencies]

0 commit comments

Comments
 (0)