We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42c8bb1 commit b9c194bCopy full SHA for b9c194b
1 file changed
packages/devextreme/js/__internal/ui/gantt/ui.gantt.view.ts
@@ -568,7 +568,7 @@ export class GanttView extends Widget<GanttViewProperties> {
568
if (date) {
569
const globalDateTimeFormat = getGlobalFormatByDataType('datetime');
570
if (globalDateTimeFormat) {
571
- result = dateLocalization.format(date, globalDateTimeFormat);
+ result = String(dateLocalization.format(date, globalDateTimeFormat) ?? '');
572
} else {
573
const datePart = dateLocalization.format(date, 'shortDate');
574
const timeFormat = this._hasAmPM() ? 'hh:mm a' : 'HH:mm';
0 commit comments