getSurveyStatusFromSchedule
Parses survey schedule start and end to determine if survey is currently open, closed, or upcoming
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
__namedParameters Required | {
|
||
now Optional | Date | new Date() |
Date object |
Returns
Property | Type | Notes |
---|
Function defined in surveys/src/utils/status-utils.ts:73