Hi Team,
I have found an issue on current week view system while moving the task left or right the days has been decreasing for example I have created a task for two days when I moving the task left or right, it will showing 1.8 days. This is happening in current week
Support Forum
Here I found the issue when I add the holidays on calendar then the issue is arrive.
let list = []
let demo = null
const dates = taskData.calendars.value.dates
dates.map((elm) => {
demo = {
startDate: new Date(elm.date),
endDate: new Date(new Date(elm.date).getTime() + 24 * 60 * 60 * 1000),
isWorking: false
}
list.push(demo)
return list
})
const cal = [
{
id: 'general',
name: 'General',
intervals: [{
recurrentStartDate: 'on Sat at 0:00',
recurrentEndDate: 'on Mon at 0:00',
isWorking: false
}],
expanded: true,
children: [
{
id: "hoildays",
name: "Holidays",
intervals: list
}
]
}
]
and in GanntConfif.js file I use calander like this
export const projectConfig = {
calendar: 'hoildays',
hoursPerDay: 24,
daysPerWeek: 5,
daysPerMonth: 20,
autoLoad: true,
stm: {
autoRecord: true
}
};