Summary: By default the 'Show Weekend' toggle is turned ON and it will show the Total Availability for current month but when 'Show Weekend' toggle is OFF it hides Saturday and Sunday columns, but it now shows an incorrect total or zero 0.00 in the Total Availability for resource's current month. This happens for months where the first day of the current month is a weekend day - such as a Sunday on a Sunday to Saturday calendar layout.
Steps to Reproduce:
- Navigate to the Resource Workspace (NOTE: The locale for this example uses a Sunday to Saturday calendar format)
- Open the properties for a named Resource that is associated with a Blueprint that contains the 'Calendar' module
- Ensure the 'Show Weekend' option is ON
- Navigate to January 2026. The first day of the month is Thursday. Make a note of the Total Availability amount
- Toggle the 'Show Weekend' option OFF. As Expected: The Total Availability amount is displayed correctly because the first day of the month is visible
- Toggle the 'Show Weekend' option ON
- Navigate to February 2026. The first day of the month is Sunday. Four weeks are displayed. The last day of the month is Saturday.
- Toggle the 'Show Weekend' option OFF. Not Expected: The Total Availability amount is shown as 0.00 because the first day of the month is not visible and the first day of the following month is not visible
- Toggle the 'Show Weekend' option ON
- Navigate to March 2026. The first day of the month is Sunday. Five weeks are displayed. The last day of the month is Tuesday. April 1st, 2nd, and 3rd are shown as working days.
- Toggle the 'Show Weekend' option OFF. Not Expected: The Total Availability amount is shown as 24.00 because it is using April 1st, which is visible, instead of March 1st, which is not visible, to determine the first day of the month for computing the amount (using the 3 visible days in April x 8 hours per day = 24.00 hours)
Expected Results: The calendar should be able to determine the first day of the current month regardless of the display option to show or hide weekends when the first day is a weekend day.
Actual Results: The calendar cannot determine the first date of the current month because it is hidden and consequently cannot calculate the amount of available hours for the current month or it incorrectly uses the first day of the following month to compute the total availability amount.
Workaround: Ensure the 'Show Weekend' option is ON for months that have the first day of the week as a weekend day so it is visible for the computation.