From: Daniel Stenberg Date: Thu, 22 Mar 2007 15:23:00 +0000 (+0000) Subject: -z hasn't supported "yesterday" for quite some time... X-Git-Tag: curl-7_16_2~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1a8fd843f0aaba9a7feaddc0f1e5a8a888f0fd8;p=thirdparty%2Fcurl.git -z hasn't supported "yesterday" for quite some time... --- diff --git a/docs/MANUAL b/docs/MANUAL index 5dcd2291f3..dd063911dc 100644 --- a/docs/MANUAL +++ b/docs/MANUAL @@ -699,9 +699,9 @@ TIME CONDITIONS curl -z -local.html http://remote.server.com/remote.html You can specify a "free text" date as condition. Tell curl to only download - the file if it was updated since yesterday: + the file if it was updated since January 12, 2012: - curl -z yesterday http://remote.server.com/remote.html + curl -z "Jan 12 2012" http://remote.server.com/remote.html Curl will then accept a wide range of date formats. You always make the date check the other way around by prepending it with a dash '-'.