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

Re: Statistics in r12501 - still a small problem

From: Norbert Unterberg <nunterberg_at_gmail.com>
Date: Thu, 3 Apr 2008 20:46:07 +0200

On Wed, Apr 2, 2008 at 6:43 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> Carsten Johnsen wrote:
>
>
> > The only issue I can find now is that Simons commit on March 31st
> > 00:32:02 (monday) is counted with week 13 instead of week 14.
[...]
> I finally found the reason for this:
> our function which calculates the week of the year uses the CTimeSpan
> object for its calculation. We calculate the number of days since january
> first (midnight). The docs for GetDays() state:

BTW, <nitpicking> which rule do you use to get the week number for the
statistics? There are different rules for different countries. US week
#12 is not the necessarily the same week as German week #12.
</nitpicking>
Or does a windows calendar api exist for that?

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-04-03 20:46:15 CEST

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.