[PATCH 2/2] Add std.rfc1123() to convert a formatted datetime to VCL_TIME
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Dec 15 07:51:28 CET 2014
--------
In message <CAJV_h0ajfdNnXX0SF77dJQ2MEK2kqiYM=yomOB-VY6F0CFkxXA at mail.gmail.com>, Fede
rico Schwindt writes:
>Depends on previous email "[PATCH 1/2] Permit to compare 2 times using
>standard operators".
>
>Useful to check if e.g. Last-Modified is older than a given time.
Shouldn't this be named vmod.time() to match the other conversion functions ?
rfc1123 certainly seems to be a far too obscure name for the job performed.
Otherwise OK
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-dev
mailing list