bfg-common 1.4.301 → 1.4.302
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -149,8 +149,6 @@ const generateOnceCronExpression = (date: Date): any => {
|
|
|
149
149
|
const generateHourlyCronExpression = (
|
|
150
150
|
data: UI_I_ScheduleNewTasksForm
|
|
151
151
|
): string => {
|
|
152
|
-
if (!date) return
|
|
153
|
-
|
|
154
152
|
const startOnTimestamp = Math.floor(
|
|
155
153
|
new Date(data.frg_start_on_time).getTime() / 1000
|
|
156
154
|
)
|
|
@@ -168,8 +166,6 @@ const generateHourlyCronExpression = (
|
|
|
168
166
|
const generateDaylyCronExpression = (
|
|
169
167
|
data: UI_I_ScheduleNewTasksForm
|
|
170
168
|
): string => {
|
|
171
|
-
if (!date) return
|
|
172
|
-
|
|
173
169
|
const startOnTimestamp = Math.floor(
|
|
174
170
|
new Date(data.frg_start_on_time).getTime() / 1000
|
|
175
171
|
)
|