Rust (incorrect):
$ TZ=Australia/Sydney ./target/debug/date -u -d "yesterday 10:00 GMT" "+%F %T %Z"
2026-02-07 10:00:00 UTC
GNU (correct):
$ TZ=Australia/Sydney gdate -u -d "yesterday 10:00 GMT" "+%F %T %Z"
2026-02-06 10:00:00 UTC
Potential root cause: try_parse_with_abbreviation at line 772 calls parse_datetime::parse_datetime(date_part) which may use system time instead of the UTC-adjusted now, unlike the standard path at line 805 which uses parse_datetime_at_date(now, ...).
Rust (incorrect):
GNU (correct):
Potential root cause:
try_parse_with_abbreviationat line 772 callsparse_datetime::parse_datetime(date_part)which may use system time instead of the UTC-adjustednow, unlike the standard path at line 805 which usesparse_datetime_at_date(now, ...).