Hello,
First of all congratulations for your work, your scheduler is great!
I would like the timeline to start on Monday rather than Sunday, is it possible?
I created a preset with display of the numbers of weeks and French dates (MM / YYYY on 1.png) but when one changes the level of zoom I lose this formatting (YYYY-MM on 2.png and YYYY-MM-DD on 3.png ). how can I do ?
Thank you for your answers !
Support Forum
Did you try to set weekStartDay or set a different locale?
this is my custom view :
customView = {
start: 1,
weekStartDay: 1,
tickWidth: 20,
tickHeight: 50,
displayDateFormat: 'll',
shiftUnit: 'week',
shiftIncrement: 1,
defaultSpan: 10,
timeResolution: {
unit: 'day',
increment: 1
},
columnLinesFor: 'bottom',
headerConfig: {
bottom: {
unit: 'day',
dateFormat: 'd1',
verticalColumnWidth: 25
},
middle: {
unit: 'week',
renderer: (start, end, headerConfig, index) => {
return 'S ' + _moment(start).week();
},
verticalColumnWidth: 115,
},
top: {
unit: 'month',
dateFormat: 'MMM YYYY',
},
}
};
Hello.
weekStarDay is a config on a panel, not on the preset
weekStarDay is a config on a panel, not on the preset