aboutsummaryrefslogtreecommitdiff
path: root/docs/FAQ
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-11-11 02:48:52 -0500
committerJay Satiro <raysatiro@yahoo.com>2016-12-28 21:19:40 -0500
commitee3c83f39c90126cabb9be896931725c32f22e09 (patch)
tree6946a6c24c6e25d2612063d0f24b8b6845f5afa6 /docs/FAQ
parent89b789884680134d5090c6de2e6b621e908b1902 (diff)
tool_operate: Fix --remote-time incorrect times on Windows
- Use Windows API SetFileTime to set the file time instead of utime. Avoid utime on Windows if possible because it may apply a daylight saving time offset to our UTC file time. Bug: https://curl.haxx.se/mail/archive-2016-11/0033.html Reported-by: Tim Closes https://github.com/curl/curl/pull/1121
Diffstat (limited to 'docs/FAQ')
-rw-r--r--docs/FAQ10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/FAQ b/docs/FAQ
index d663811a2..9157022a2 100644
--- a/docs/FAQ
+++ b/docs/FAQ
@@ -1016,10 +1016,12 @@ FAQ
4.13 Why is curl -R on Windows one hour off?
- During daylight savings time, when -R is used, curl will set a time that
- appears one hour off. This happens due to a flaw in how Windows stores and
- uses file modification times and it is not easily worked around. For details
- on this problem, read this: http://www.codeproject.com/datetime/dstbugs.asp
+ Since curl 7.53.0 this issue should be fixed as long as curl was built with
+ any modern compiler that allows for a 64-bit curl_off_t type. For older
+ compilers or prior curl versions it may set a time that appears one hour off.
+ This happens due to a flaw in how Windows stores and uses file modification
+ times and it is not easily worked around. For more details read this:
+ http://www.codeproject.com/datetime/dstbugs.asp
4.14 Redirects work in browser but not with curl!