[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Wrong information in "Commits by date" statistics view

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-12-28 10:53:50 CET

Juan Pablo Canepa wrote:
> Short summary: Wrong information is shown in the "Commits by date"
> statistics view
> Severity: Minor (display)
> System information: Windows XP SP2, fully upgraded
> TortoiseSVN version: "TortoiseSVN 1.4.1, Build 7992 - 32 Bit ,
> 2006/11/11 09:34:39"
>
> Description:
> When checking the "commits by date" view of the statistics, a
> spurious chart appears. In the case of the screenshot (taken on December
> 27), a chart is shown for the week 1/06. If it was supposed to mean
> "1/07", that would be looking into the future, so I assume it is a bug.
> If it actually means 1/06, then it must be a bug also, since our
> repository didn't even exist on that date.
>
> Steps to reproduce:
> Check the "commits by date" among the statistics, for a repository
> with activity during the last week of the year (I'm guessing the
> behavior will be correct after there is activity after January 1st,
> 2007). Can be reproduced, apparently, on any repository (in fact, we
> reproduced it checking *the* subversion repository).

I can't reproduce this here on my german OS. But I *think* that it's
correct even for you. Please check whether in your locale the 'week of
the year' is calculated so that the last week of a year may be already
counted as the first week of the next year.
See here for more details about the 'week of the year':
http://en.wikipedia.org/wiki/Week#Week_number

Although I have to admit that the function to calculate the week of the
year in our statistics dialog definitely isn't perfect. It doesn't honor
all possible locales (since I can't test that).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Dec 28 10:54:00 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.