MCPcopy
hub / github.com/directus/directus / TimeStructure

Interface TimeStructure

app/src/utils/format-date-picker-model-value.ts:9–13  ·  view source on GitHub ↗

* Structural type for time values to avoid nominal typing issues. * Compatible with Time, CalendarDateTime, and ZonedDateTime.

Source from the content-addressed store, hash-verified

7 * Compatible with Time, CalendarDateTime, and ZonedDateTime.
8 */
9interface TimeStructure {
10 readonly hour: number;
11 readonly minute: number;
12 readonly second: number;
13}
14
15/**
16 * Format the v-date-picker model value to match the legacy Flatpickr formats exactly.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected