View as Markdown

API reference: @salmonui/gantt

GanttDateInputtype

import type { GanttDateInput } from '@salmonui/gantt';
type GanttDateInput = Date | string | number | {
    readonly year: number;
    readonly month: number;
    readonly day: number;
    readonly hour?: number;
    readonly minute?: number;
};

A date value accepted by the task roles: Date, ISO string, epoch ms or a plain date-time ({ year, month, day, hour?, minute? }).