Hi,
I noticed that in RRDTool up to 1.0.28, the rrdgraph(1) '--x-grid'
argument does not work correctly if the strftime(3) string contains
spaces. For instance, if you try to use :
rrdtool graph ... --x-grid "DAY:1:WEEK:1:WEEK:1:86400:%b %e, %Y" ...
The x ticks will be labeled "Jan", not "Jan 15, 2001" (or whatever). The
attached patch fixes the -x argument parsing code by copying the entire
format string following the last ':' character into im.xlab_form[].
Cheers,
-rAT
--
O----O Email: [EMAIL PROTECTED] - Phone: (360)816-3837 - Pi: (314)159-2654
\Oo/ "The scientific name for an animal that doesn't either run
==\/== from or fight its enemies is lunch." -Michael Friedman
-- Attached file removed by Listar and put at URL below --
-- Type: TEXT/PLAIN
-- Size: 959 bytes
-- URL : http://www.ee.ethz.ch/~slist/pantomime/rrd-x-grid-patch
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi