TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => HammerSkin => Topic started by: thc on December 06, 2004, 02:49:57 PM

Title: another bug
Post by: thc on December 06, 2004, 02:49:57 PM
hi Wichtel,

i've found another bug in these lines:

// Angabe der calendar week (KW) of the year

      calcvar,var33,firstoutlookday

   if,var,var31,,<,38357
         //Jahr 2004
         addvar,var33,-37977
   else
      if,var,var33,,<,38720
         //Jahr 2005
         addvar,var33,-38341
      else
         if,var,var33,,<,39084      
            //Jahr 2006
            addvar,var33,-38705
         else
            //Jahr 2007
            addvar,var33,-39076         endif
      endif
   endif

   calcvar,var32,/,%var33%,7

   changefont,tahoma,10b

   text,205,126,%var32%th Week,r

and the number of the week is false in 2005

@+ thc
Title: another bug
Post by: Wichtel on December 06, 2004, 05:36:17 PM
:D  Good eyes, I have me surprised we already have this suddenly 56 calendar weeks .  :think:

However, nothing makes. The code was anyway false. Nas has corrected this just, tomorrow there is an update again so.
Title: another bug
Post by: thc on December 07, 2004, 05:43:11 PM
hi Wichtel!

the new code work's much better!!  :D

thank's for the fix!
Title: another bug
Post by: Wichtel on December 08, 2004, 12:47:13 AM
Welcome to the " 4eyes" Club :mrgreen: