curl / Mailing Lists / curl-users / Single Mail


Re: Query about correcting for DST with curl

From: Ray Satiro via curl-users <>
Date: Fri, 11 Nov 2016 03:05:08 -0500

On 11/10/2016 11:26 PM, Tim wrote:
> Yes. The file time is off by one hour. I have tried it with both Apache and
> Abbys Web Server and the same thing happens. I should add that the file I am
> downloading for test purposes was last modified last Summer.
> The clocks on both the server and client computers are both set correctly.
> However, I don't see that it would make a difference if this was not the
> case because the issue is with file timestamps, not the computer's clock.
> Both the server and client computers are running Windows operating systems.
> To be honest, I find this baffling, do you have any idea why both Apache and
> Abbys would adjust the timestamp of the file by an hour when reporting it to
> curl? Do you think that you can get curl to detect whenever this is
> happening and adjust the timestamp of the downloaded file back to its
> original value again?

Yes this is an issue. I've opened
which has more information and a proposed fix if you want to try it out.
It fixes the issue for me. Also if you would like to give us your last
name for the docs/THANKS file I will add that to the Reported-by line in
the commit.

List admin:
Received on 2016-11-11