feat(time-picker): added timepicker emcn component, added to playground, added searchable prop for dropdown, added more timezones for schedule, updated license and notice date (#2668)

* feat(time-picker): added timepicker emcn component, added to playground, added searchable prop for dropdown, added more timezones for schedule, updated license and notice date

* removed unused params, cleaned up redundant utils
This commit is contained in:
Waleed
2026-01-02 18:46:39 -08:00
committed by GitHub
parent 4df5d56ac5
commit c3adcf315b
12 changed files with 411 additions and 179 deletions

View File

@@ -372,8 +372,7 @@ function calculateNextRunTime(
return nextDate
}
const lastRanAt = schedule.lastRanAt ? new Date(schedule.lastRanAt) : null
return calculateNextTime(scheduleType, scheduleValues, lastRanAt)
return calculateNextTime(scheduleType, scheduleValues)
}
export async function executeScheduleJob(payload: ScheduleExecutionPayload) {