[master] e54c8aa Document y (years) time unit
Federico G. Schwindt
fgsch at lodoss.net
Tue Jun 17 13:55:31 CEST 2014
commit e54c8aaee5c7215954762dc3b2aeca09aefd26ad
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Tue Jun 17 12:52:52 2014 +0100
Document y (years) time unit
diff --git a/lib/libvmod_std/vmod.vcc b/lib/libvmod_std/vmod.vcc
index b1b7010..7a22156 100644
--- a/lib/libvmod_std/vmod.vcc
+++ b/lib/libvmod_std/vmod.vcc
@@ -113,7 +113,7 @@ $Function DURATION duration(STRING, DURATION)
Description
Converts the string *s* to seconds. *s* must be quantified
with ms (milliseconds), s (seconds), m (minutes), h (hours),
- d (days) or w (weeks) units. If *s* fails to parse,
+ d (days), w (weeks) or y (years) units. If *s* fails to parse,
*fallback* will be returned.
Example
set beresp.ttl = std.duration("1w", 3600s);
More information about the varnish-commit
mailing list