<div dir="ltr">Talking of which, isn't this format in vtim.c<br><br>        "%F %T",                /* ISO 8601 */<br><br>Missing the T between the date and time and maybe the trailing Z?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 15, 2014 at 9:50 AM, Federico Schwindt <span dir="ltr"><<a href="mailto:fgsch@lodoss.net" target="_blank">fgsch@lodoss.net</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I thought about this and decided to go for rfc1123() as time() would indicate a TIME input with .integer(), .ip() and .real().<br><br>While I agree that rfc1123() is a bit obscure it hints that the input requires some standard format. Actually I should also document the different formats supported.<br><br>The other options I had in mind were datetime() and date() but I liked rfc1123() best.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 15, 2014 at 6:51 AM, Poul-Henning Kamp <span dir="ltr"><<a href="mailto:phk@phk.freebsd.dk" target="_blank">phk@phk.freebsd.dk</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">--------<br>
In message <CAJV_h0ajfdNnXX0SF77dJQ2MEK2kqiYM=<a href="mailto:yomOB-VY6F0CFkxXA@mail.gmail.com" target="_blank">yomOB-VY6F0CFkxXA@mail.gmail.com</a>>, Fede<br>
<div><div>rico Schwindt writes:<br>
<br>
>Depends on previous email "[PATCH 1/2] Permit to compare 2 times using<br>
>standard operators".<br>
><br>
>Useful to check if e.g. Last-Modified is older than a given time.<br>
<br>
</div></div>Shouldn't this be named vmod.time() to match the other conversion functions ?<br>
<br>
rfc1123 certainly seems to be a far too obscure name for the job performed.<br>
<br>
Otherwise OK<br>
<span><font color="#888888"><br>
--<br>
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG         | TCP/IP since RFC 956<br>
FreeBSD committer       | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.<br>
</font></span></blockquote></div></div>
</div></div></blockquote></div></div>