🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Relative Date Pattern 'm9' #9798

Description

@sylvestre

Rust (incorrect - wrong date calculation)

$  TZ=UTC cargo run -p uu_date -- -d m9 '+%F %T %Z'
  # Output: 2025-12-23 21:00:00 UTC

GNU (correct)

$  TZ=UTC /usr/bin/date -d m9 '+%F %T %Z'
  # Output: 2025-12-22 21:00:00 UTC

Found with a fuzzer

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions