From 106695d45e447d2b440abcc083c0feafb90fa330 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 15 Sep 2004 07:31:48 +0000 Subject: [PATCH] the new date parser affects -z --- RELEASE-NOTES | 2 +- docs/curl.1 | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d94bd0bca..b99a5467b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -10,7 +10,7 @@ Curl and libcurl 7.12.2 This release includes the following changes: - o + o curl_getdate() completely rewritten, which may affect curl -z use cases. This release includes the following bugfixes: diff --git a/docs/curl.1 b/docs/curl.1 index a8040109a..d3a87fc9b 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -976,15 +976,11 @@ not set. If this option is used several times, the last one will be used. .IP "-z/--time-cond " -(HTTP) -Request to get a file that has been modified later than the given time and +(HTTP) Request a file that has been modified later than the given time and date, or one that has been modified before that time. The date expression can be all sorts of date strings or if it doesn't match any internal ones, it tries to get the time from a given file name instead! See the -.BR "GNU date(1)" -or -.BR "curl_getdate(3)" -man pages for date expression details. +\fIcurl_getdate(3)\fP man pages for date expression details. Start the date expression with a dash (-) to make it request for a document that is older than the given date/time, default is a document that is newer