From dcfad8c8932cc3d88459dc559ad9637974dd0f00 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@2215 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/doc/rrdgraph.pod | 5 +++++ program/src/rrd_graph.c | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/program/doc/rrdgraph.pod b/program/doc/rrdgraph.pod index be421e86..71a1e1dd 100644 --- a/program/doc/rrdgraph.pod +++ b/program/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