FormatForInput

Function: formatForInput()

[object Object]

Defined in: util/date.util.ts:99

Formats an ISO date string for HTML datetime-local inputs (YYYY-MM-DDTHH:mm), rendered in the association's configured timezone so it matches what formatDate displays.

Parameters

isoString?

[object Object]

The ISO date string (e.g. from the API in UTC).

Returns

[object Object]

A string in the format "YYYY-MM-DDTHH:mm".

On this page