[rrd-users] Re: Wrong number of week
Tobias Oetiker
oetiker at ee.ethz.ch
Wed Apr 10 22:01:58 MEST 2002
Today Henk Uijterwaal (RIPE-NCC) wrote:
>
> On Wed, 10 Apr 2002 forster at bluemail.ch wrote:
>
> >
> > My graphs with a range of 2 month (8 weeks) label the actual week as
> > 'Week 14' while we are already on Week 15.
> >
> > rrd runs on SunOS 5.6 on a sparc SUNW,Ultra-5_10
> > Time is correct Wed Apr 10 20:46:01 MET DST 2002
> > and TZ=''
> >
> > I believe this has always been like that but I only realised today...
> >
> > Any suggestions?
you can change the week number format in the rrd_graph.c
fro %U to %V ... europeant prefer %V ....
%U Week number of year as a decimal number [00,53], with
Sunday as the first day of week 1.
%V The ISO 8601 week number as a decimal number [01,53].
In the ISO 8601 week-based system, weeks begin on a
Monday and week 1 of the year is the week that
includes both January 4th and the first Thursday of
the year. If the first Monday of January is the 2nd,
3rd, or 4th, the preceding days are part of the last
week of the preceding year. See NOTES below.
cheers
tobi
--
______ __ _
/_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
/ // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://google.com/search?q=tobi
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list