Re: --time-cond <time> format?

Paul Gilmartin via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
On 4/27/24 18:57:18, Timothe Litt via curl-users wrote:

> On 27-Apr-24 20:44, Paul Gilmartin via curl-users wrote:
>     ...
> The next sentence of the man page says "See the curl_getdate(3) man pages for date expression details."
> 
> https://curl.se/libcurl/c/curl_getdate.html
>  .
I found it.  Thanks.

> I agree that it would be better if the man page was explicit.
>  .
I believe it's all available, but scattered.  A hyperlink would
have helped.

At what point do 2-digit years wrap? Is 94 in the past,
and 25 in the future?

Answering my own question, by experiment:
If --time-cond represents a date in the future, no data are
transferred, but --write-output %{filename_effective}
operates.  Please don't change this.
  
Interestingly, although no data are transferred, a vestigial
progress bar appears:
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                  Dload  Upload   Total   Spent    Left  Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

-- 
Thanks again,
gil
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.