Skip to content

time-cond doesn't work for files with date before 1970-01-01 #11785

@piru

Description

@piru

I did this

touch -d '1969-12-31T00:00:00Z' reallyold.txt
curl --time-cond reallyold.txt -I https://curl.se

I expected the following

The date before 1970-01-01 being considered valid.

curl/libcurl version

curl 8.2.1

operating system

macOS 13.5.1 (22G90)

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