From 40ed0940c50dc10e7820ce5ad55f71940b108b95 Mon Sep 17 00:00:00 2001 From: oetiker Date: Tue, 22 Nov 2011 17:13:13 +0000 Subject: [PATCH] a new command-line parameter, --week-fmt, by which I can translate the word "week" in the graphs. -- Martin Volf git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2215 a5681a0c-68f1-0310-ab6d-d61299d08faa --- doc/rrdgraph.pod | 5 +++++ src/rrd_graph.c | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/doc/rrdgraph.pod b/doc/rrdgraph.pod index be421e8..71a1e1d 100644 --- a/doc/rrdgraph.pod +++ b/doc/rrdgraph.pod @@ -193,6 +193,11 @@ This places grid lines every 8 hours, major grid lines and labels each day. The labels are placed exactly between two major grid lines as they specify the complete day and not just midnight. +[B<--week-fmt> I] + +By default rrdtool uses "Week %V" to render the week number. With this option +you can define your own format, without completely overriding the xaxis format. + =head2 Y-Axis [B<-y>|B<--y-grid> IB<:>I