BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 BCGSuite for MFC
 BCGSuite for MFC
 V 25.2: wrong calculation week of year

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Insert Smilie
   
Message:

* HTML is OFF
* Forum Code is ON

 
   

T O P I C    R E V I E W
HolgerG Posted - 12/05/2018 : 06:29:15 AM
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)


2   L A T E S T    R E P L I E S    (Newest First)
HolgerG Posted - 12/07/2018 : 02:14:46 AM
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
Support Posted - 12/06/2018 : 10:18:28 AM
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 Forums © Copyright (c) 1998-2022 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000