FormatForInput

Function: formatForInput()

[object Object]

Defined in: app/components/Activity/Edit/EditActivityForm/EditActivityForm.handlers.tsx:22

Truncates an ISO date string to a format compatible with HTML datetime-local inputs.

Parameters

isoString?

[object Object]

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

Returns

[object Object]

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

On this page