Replies: 3 comments
-
|
Sounds like a bug (or missing feature) to me. I think it's worth opening an issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
See #18443 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Fix coming in 8.16.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure if this is a bug, or something which should be clarified in the documentation.
Files with a
Last-Modifiedtime before the UNIX Epoch are saved with the current time, regardless of whether the filesystem supports older dates.For example:
Will be saved with today's date.
Using
wgetwill save with the original filedate all the way back to whatever my filesystem supports.I think this is caused by
curl/src/tool_filetime.c
Lines 89 to 91 in f08ecdc
It doesn't explicitly set the file's timestamp for negative values.
I'm not well versed enough in C to know if this is a limitation of the standard library or a design decision.
Beta Was this translation helpful? Give feedback.
All reactions