Skip to content

frontend


frontend / common/restUtils / formatDatesInObject

Function: formatDatesInObject()

formatDatesInObject(obj): any

Defined in: common/restUtils.ts:50

Formats dates in an object to be sent to the backend. This is necessary to take into account timezones and other date formatting issues.

Parameters

obj

any

Returns

any

object with dates formatted as strings