-
Notifications
You must be signed in to change notification settings - Fork 452
Open
Description
Hello @gavirawson-apple,
We're trying to schedule some tasks so that they only appear for a specific time on the app side.
For example, we want people to see a task at 08 o'clock in the morning and remove that task from the app at 09 o'clock. So, it should be displayed before 8 o'clock and after 9 o'clock during that day.
I tried to achieve the goal using the
surveySchedule = OCKScheduleElement(start: thisMorning!, end: expiryDate!, interval: DateComponents(hour: 1) )
Where thisMorning = 2022-10-07 08:00:00
, and expiryDate = 2022-10-07 09:00:00
But it didn't work as expected. It appears in the app all the time.
Please advise me on how I can achieve my goal.
Thank You,
- Majid S.
Metadata
Metadata
Assignees
Labels
No labels