Small bug in WebStatisticsApp>>yearlyStatsStarting:from:and:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Small bug in WebStatisticsApp>>yearlyStatsStarting:from:and:

Nicolas Petton
Hi,

I think I found a small bug in this method (Squeak port):

cdate := Date newDay: 1
                monthNumber: aDate monthIndex
                year: aDate year.

should be replaced with:

cdate := SpDate newDay: 1
                monthNumber: aDate monthIndex
                year: aDate year.

Cheers,

Nicolas
--
Nicolas Petton
http://nico.bioskop.fr
             ___
           ooooooo
          OOOOOOOOO
         |Smalltalk|
          OOOOOOOOO
           ooooooo
            \   /
             [|]
--------------------------------
Ma cl? GPG est disponible ici :
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D

-------------- section suivante --------------
Une pi?ce jointe non texte a ?t? nettoy?e...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: Ceci est une partie de message
        =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url: http://lists.aidaweb.si/pipermail/aida/attachments/20071029/d72ba8bf/attachment.sig 

Reply | Threaded
Open this post in threaded view
|

Small bug in WebStatisticsApp>>yearlyStatsStarting:from:and:

Janko Mivšek
Nicolas, corrected.

Thanks!
Janko

nicolas petton a ?crit :

> Hi,
>
> I think I found a small bug in this method (Squeak port):
>
> cdate := Date newDay: 1
> monthNumber: aDate monthIndex
> year: aDate year.
>
> should be replaced with:
>
> cdate := SpDate newDay: 1
> monthNumber: aDate monthIndex
> year: aDate year.
>
> Cheers,
>
> Nicolas
>