The Working Calendar lets you define which days of the week are working days for a project. Every project can have its own schedule — a Middle-Eastern team running Sun–Thu, a seven-day construction site, or a Mon–Sat retail rollout — and DPlan will shade the Gantt correctly, calculate durations accurately, and schedule tasks on the right days automatically.
The Working Calendar is set inside the Project modal:
The section shows two rows: a preset strip and a day-toggle row.
Click any preset button to instantly apply a standard regional schedule:
| Preset | Working Days | Typical Region |
|---|---|---|
| Mon–Fri | Monday to Friday | Default — most of the world |
| Sun–Thu | Sunday to Thursday | UAE, Saudi Arabia, Israel (traditional) |
| Mon–Sat | Monday to Saturday | India, parts of South-East Asia |
| Sun–Fri | Sunday to Friday | Egypt, some Gulf states |
| 7 Days | All seven days | Hospitality, construction, healthcare |
The active preset button highlights in blue. If you toggle individual days manually, the preset buttons update automatically — the one that matches your current selection (if any) stays highlighted; all others deactivate. This makes it easy to see if you are on a standard or custom schedule at a glance.
Seven day-toggle buttons (Su Mo Tu We Th Fr Sa) let you pick any combination of working days. Click a button to toggle it on (blue) or off (grey). At least one day must remain active — toggling the last active day off is ignored.
After clicking individual toggles, if your selection exactly matches a preset, that preset button highlights. Otherwise all presets appear inactive, indicating a custom schedule.
Non-working days are shaded grey on the Gantt timeline (the same shade as weekends in a standard Mon–Fri project). If a project uses Sun–Thu, Friday and Saturday columns are shaded grey instead of the usual Saturday and Sunday.
Task duration shown in the Task Editor and duration column counts only working days per the project calendar. A 5-working-day task on a Sun–Thu calendar runs Sun–Thu, not Mon–Fri. Duration exported to XLS or shown in reports uses the same count.
Auto-scheduling skips non-working days when pushing successor task start dates forward. If a task finishes on Thursday (last working day in a Sun–Thu calendar), its dependent successor starts the following Sunday — not the next calendar day (Friday).
The "days remaining" badge on each Gantt bar counts working days to the task end date using the project calendar. A task ending in 3 calendar days on a Mon–Fri project that falls over a weekend shows "1 day" remaining, not "3".
When the Resource Histogram and EVM calculations estimate how many hours a resource can contribute to a task, DPlan uses the intersection of the project calendar and the resource's own working-day schedule:
Resources without a custom calendar inherit the full project schedule.
In the Calendar (monthly and weekly views), non-working days per the project calendar are shaded grey — matching the Gantt shading so both views stay visually consistent.
Existing projects (saved before this feature was added) have no workDays field. DPlan reads their calendar as Mon–Fri ([1,2,3,4,5]) — exactly the same as before. No data migration needed. Projects only gain a workDays field after you open the Project modal and click Save Project.
The working calendar is stored as an integer array in the .dplan file under project.workDays:
"workDays": [0, 1, 2, 3, 4]Day numbers follow JavaScript Date.getDay() convention: 0 = Sunday, 1 = Monday, … 6 = Saturday. The array is sorted ascending. A missing or empty workDays field is treated as [1,2,3,4,5] (Mon–Fri).
The per-resource working-day calendar (set in Resources → Edit Resource → Working Days) operates at a finer level than the project calendar. The two calendars combine as follows:
| Scenario | Effective Days |
|---|---|
| No project override, no resource override | Mon–Fri (system default) |
| Project: Sun–Thu, resource: no override | Sun–Thu (project calendar applies) |
| Project: Mon–Fri, resource: Mon–Wed | Mon–Wed (resource is more restrictive) |
| Project: Sun–Thu, resource: Mon–Fri | Mon–Thu (intersection) |
| Project: 7 Days, resource: Tue+Thu | Tue+Thu (resource schedule wins) |
This means you never need to set both calendars to the same thing — set the project calendar to your region's standard week, and only set resource calendars for people who work different hours than the rest of the team.
See also: Resources & Team Members, Auto-Schedule & CPM, Gantt View, Earned Value (EVM).