From da83a2026d3844a843ff28bec6317369bb82a738 Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 9 Aug 2004 08:38:55 +0000 Subject: [PATCH] added note on escaping : git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@289 a5681a0c-68f1-0310-ab6d-d61299d08faa --- doc/rrdcgi.pod | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.30.2