[master] 89ad25e Some clarification on how 'now' works I'm not sure if we should go into more detail about how the whole thing works

Per Buer perbu at varnish-cache.org
Wed Dec 14 16:04:41 CET 2011


commit 89ad25ed13e8bbc3aca06a10acb4b1822ecf8e2a
Author: Per Buer <perbu at varnish-software.com>
Date:   Wed Dec 14 16:04:39 2011 +0100

    Some clarification on how 'now' works
    I'm not sure if we should go into more detail about how the whole thing works

diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index 5b2e6d0..2c185ed 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -679,7 +679,8 @@ made available to the handler subroutines through global variables.
 The following variables are always available:
 
 now   
-  The current time, in seconds since the epoch.
+  The current time, in seconds since the epoch. When used in string context
+  it returns a formatted string.
 
 The following variables are available in backend declarations:
 



More information about the varnish-commit mailing list