Localization And Date Formatting
gantt.labels localizes packaged option labels, while gantt.dateFormats controls date display and parsing across the task table, tooltips, editor, and timeline.
grid.gantt = { ...project, labels: { taskMode: { auto: 'Automatisch', manual: 'Manuell' }, status: { complete: 'Abgeschlossen', 'on-schedule': 'Im Plan', late: 'Verspätet', 'future-task': 'Zukünftig', }, workflowStatus: { 'not-started': 'Nicht begonnen', 'in-progress': 'In Arbeit', done: 'Erledigt', blocked: 'Blockiert', }, }, dateFormats: { locale: 'de-DE', timeZone: 'Europe/Berlin', table: { day: '2-digit', month: '2-digit', year: 'numeric' }, tooltip: { dateStyle: 'medium' }, },};Task values remain ISO date or UTC ISO date-time strings. Formatting changes presentation, not persisted data. When an editor uses a non-ISO text format, provide both a formatter and parser so submitted values return to the supported ISO contract.
Use one project time zone, explicit calendar time zones, and UTC date-time values when hour/minute precision matters. See Configuration Reference for callback contexts and parsing rules.