[mrtg] Re: Week numbering

hem at dmdata.dk hem at dmdata.dk
Fri Jan 11 13:01:53 MET 2002

Here is the info i got from tobi

Thnx tobi
----- Forwarded by Henning Markussen/DMDATA on 11-01-02 13:01 -----
                    Oetiker              To:     hem at dmdata.dk                                                                  
                    <oetiker at ee.e        cc:                                                                                    
                    thz.ch>              Subject:     Re: Week numbering                                                        

Today hem at dmdata.dk wrote:

> My weekly graphs fell over from week 52 to 00.
> I use version 2.9.17 on a Windows 2000 Server.
> Is there a way to fix that ?

you can specify the weeknumbering notation to be used ... check

     %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.

this depends on your OS strftime implementation though ...

check the reference.html


Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list