Skip to content

coreutils test_date::test_negative_offset and test_date::test_relative_weekdays fail after parse_datetime update #151

@drinkcat

Description

@drinkcat
---- test_date::test_relative_weekdays stdout ----
bin: "/home/drinkcat/dev/coreutils/coreutils/target/debug/coreutils"
run: /home/drinkcat/dev/coreutils/coreutils/target/debug/coreutils date -d last thu --rfc-3339=seconds --utc

thread 'test_date::test_relative_weekdays' panicked at tests/by-util/test_date.rs:472:18:
Predicate for stdout as `str` evaluated to false.
stdout='2025-05-29 00:00:00+00:00
'
stderr=''

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- test_date::test_negative_offset stdout ----
bin: "/home/drinkcat/dev/coreutils/coreutils/target/debug/coreutils"
run: /home/drinkcat/dev/coreutils/coreutils/target/debug/coreutils date -d -1 hour --rfc-3339=seconds

thread 'test_date::test_negative_offset' panicked at tests/by-util/test_date.rs:445:14:
Predicate for stdout as `str` evaluated to false.
stdout='2025-05-28 23:00:00+00:00
'
stderr=''



failures:
    test_date::test_negative_offset
    test_date::test_relative_weekdays

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions