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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×