Hello,
How can I do to display the name of the day in the week with the date title with the timeline view?
Thank you!
Hello,
How can I do to display the name of the day in the week with the date title with the timeline view?
Thank you!
Hello.
To change date in timeline scale you could set x_date timeline property.
See article: docs.dhtmlx.com/scheduler/api__s … eview.html
See also date format: docs.dhtmlx.com/scheduler/settings_format.html
For example: docs.dhtmlx.com/scheduler/snippet/d0c7490b
Hello and thank you Sten for your time…
I tried:
scheduler.createTimelineView({
name: "timeline",
x_unit: "minute",
x_date: "%l %H:%i",
...
But I think my answer wasn’t specific enough…
I was talking about this date:
Thank you for your help and for good work!
David
Hi,
this label can be changed by redefining an appropriate template:
E.g. var toStr = scheduler.date.date_to_str("%l, %j %F ");
scheduler.templates.timeline_date = function(date){
return toStr(date);
};
Demo:
docs.dhtmlx.com/scheduler/snippet/77032532
and related docs:
docs.dhtmlx.com/scheduler/settings_format.html
docs.dhtmlx.com/scheduler/api__s … plate.html
So simple, so perfect!
Thank you!!!