BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 BCGSuite for MFC
 BCGSuite for MFC
 V 25.2: wrong calculation week of year
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

HolgerG

5 Posts

Posted - 12/05/2018 :  06:29:15 AM  Show Profile  Reply with Quote
I use SetFirstWeekOfYear(2) - the 4 day rule
I use SetFirstDayOfWeek(1) - the Monday
which is used in Germany.
For the last week of december 2018 (12/31 is Monday)
CBCGPCalendar shows week 53 which is wrong - it should be week 1

For the first week of Januar (1/1 is tuesday)
(which is of Course the same week like last week december)
CBCGPCalendar shows week 1 which is correct.

Is this bug repaired in a newer Version? If yes: which Version?
(We have forgotten to renew our subscription so I cannot test easily on my own V29)


Support

4175 Posts

Posted - 12/06/2018 :  10:18:28 AM  Show Profile  Visit Support's Homepage  Reply with Quote
Hi,

No, this feature is not implemented yet, but we're planning to add it in one of the future product versions.

Best regards,

BCGSoft Technical Support
Go to Top of Page

HolgerG

5 Posts

Posted - 12/07/2018 :  02:14:46 AM  Show Profile  Reply with Quote
There is a very heavy use of calendart weeks in germany.
So I changed recently to CBCGPCalendar with week number on.
Now customers are calling because of wrong numbers…
Maybe together with a ISO 8601 flag would be
CBCGPPlannerManagerCtrl::GetSystemFirstWeekOfYear
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft Forums © Copyright (c) 1998-2022 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000