Buy commercial curl support from
WolfSSL. We help you work out your issues, debug your libcurl
applications, use the API, port to new platforms, add new features and more.
With a team lead by the curl founder himself.
Re: --time-cond <time> format?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Timothe Litt <litt_at_acm.org>
Date: Sat, 27 Apr 2024 20:57:18 -0400
On 27-Apr-24 20:44, Paul Gilmartin via curl-users wrote:
> man curl tells me:
> The date expression can be all sorts of date strings
>
> That's pretty vague. Does it accept ISO 8601, which
> would be my first guess? It seems not to, but I may
> have mistyped it. Rather than (or in addition to)
> "all sorts" I'd welcome a single specific format
> which is guaranteed to work. A strftine() format
> string would be helpful.
>
> Can I suppress a download by supplying a date in the
> future, or will curl regard that as invalid?
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 agree that it would be better if the man page was explicit.
> Timothe Litt
> ACM Distinguished Engineer
> --------------------------
> This communication may not represent the ACM or my employer's views,
> if any, on the matters discussed.
Received on 2024-04-28
Date: Sat, 27 Apr 2024 20:57:18 -0400
On 27-Apr-24 20:44, Paul Gilmartin via curl-users wrote:
> man curl tells me:
> The date expression can be all sorts of date strings
>
> That's pretty vague. Does it accept ISO 8601, which
> would be my first guess? It seems not to, but I may
> have mistyped it. Rather than (or in addition to)
> "all sorts" I'd welcome a single specific format
> which is guaranteed to work. A strftine() format
> string would be helpful.
>
> Can I suppress a download by supplying a date in the
> future, or will curl regard that as invalid?
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 agree that it would be better if the man page was explicit.
> Timothe Litt
> ACM Distinguished Engineer
> --------------------------
> This communication may not represent the ACM or my employer's views,
> if any, on the matters discussed.
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html
- application/pgp-signature attachment: OpenPGP digital signature