From: oetiker Date: Mon, 9 Aug 2004 08:38:55 +0000 (+0000) Subject: added note on escaping : X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=da83a2026d3844a843ff28bec6317369bb82a738;p=rrdtool.git added note on escaping : git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@289 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/doc/rrdcgi.pod b/doc/rrdcgi.pod index 66260ac..763ab23 100644 --- a/doc/rrdcgi.pod +++ b/doc/rrdcgi.pod @@ -96,8 +96,11 @@ time is I-formatted with the string specified in the second argument. =item RRD::TIME::NOW I -This gets replaced by the current time of day. The -time is I-formatted with the string specified in the argument. +This gets replaced by the current time of day. The time is +I-formatted with the string specified in the argument. + +Note that if you return : from your strftime format you may have to escape +them using \ if the time is to be used as an argument to a GRAPH command. =item RRD::TIME::STRFTIME I I I I @@ -108,6 +111,9 @@ must be supplied as either could be relative to the other. This is intended to allow pretty titles on graphs with times that are easier for non RRDtool folks to figure out than "-2weeks". +Note that if you return : from your strftime format you may have to escape +them using \ if the time is to be used as an argument to a GRAPH command. + =item RRD::GRAPH I This tag creates the RRD graph defined in its argument and then gets