Jump to content
Muxe Inc Forums
Sign in to follow this  
Basil/2

Bug In Calendar

Recommended Posts

Basil/2    0

This is calendar output:

 

January    2010
??  ??  ??  ??  ??  ??  ??  Week
28  29  30  31   1   2   3 │ 53 
4   5   6   7    8   9  10 │  1 
11  12  13  14  15  16  17 │  2 
18  19  20  21  22  23  24 │  3 
25  26  27  28  29  30  31 │  4 
1   2   3   4    5   6   7 │  5

 

As you can see, week number less than corrent number.

 

The bug might look insignificant, but I used this wrong week number when reporting my working time to my boss! (hopefully I detected it before him)

Share this post


Link to post
Share on other sites

Hi Basil.

 

Mo  Tu  We  Th  Fr  Sa  Su
28  29  30  31   1   2   3 │ 53 
4   5   6   7    8   9  10 │  1

 

I have compared this to 2 German paper calendars at work and a few

on the internet.

 

Also read here:

http://www.merlyn.demon.co.uk/weekinfo.htm#WkNo

The first Week of a Year is Number 01, which is :-

defined as being the week which contains the first Thursday of the Calendar year; which implies that it is also

 

The last Week of a Year, Number 52 or 53, therefore is :-

the week which contains the last Thursday of the Calendar year;

 

I am pretty sure that the calculation is correct.

Please recheck this with a few calendars where you live.

 

Thank you,

Stefan / AH

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×