Function: toLocalISOString()
function toLocalISOString(date): string;
Defined in: plugins/field-date/src/field_date.ts:274
Convert the date to ISO format for the current timezone.
Parameters
| Parameter | Type | Description |
|---|---|---|
date | Date | The date to convert to an ISO string. |
Returns
string
The string in 'yyyy-mm-dd' format, though for the current timezone. Ex: new Date('2000-02-20')