-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Philip Gladstone wrote:
> Brief outline:
> 
> When you do a wget from an ftp: url, it tries to copy over the last
> modified date of the file (this is good). However, due to timezone
> issues, the date that it gets can sometimes be in the future, and then
> it guesses the year incorrectly. This patch fixes that problem.

(See original message, with patch, at
http://article.gmane.org/gmane.comp.web.wget.patches/2224)

Good catch.

However, on closer inspection, this patch doesn't quite fix the problem,
properly. It checks whether the file's time is in the first day of the
next month, but not whether the _current_ time is the last day of the
current month. We need to do a stronger check for whether it's truly
within 24 hours of the current time.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHWxZe7M8hyUobTrERAskXAJ4z6Ir7qIYMCXLHBjJVLlqmERMXOgCgkcDR
ihFdxJAfFU8l3qMo+AiLns4=
=wSIh
-----END PGP SIGNATURE-----

Reply via email to