Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
tool_operate: Fix --remote-time incorrect times on Windows. draft1 #1121
It was reported on the mailing list that
In the FAQ it says:
curl is using utime to do the modification. I tried these dates:
Last-Modified: Thu, 01 Jan 1970 00:00:30 GMT
curl filetime is 30 (correct), and it sets that using utime.
Last-Modified: Thu, 20 Aug 1970 11:33:50 GMT
curl filetime is 20000030 (correct) and it sets that using utime.
My first take on this is attached, but it requires
Edit: Uploaded a build of draft1 at the reporter's request: