mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 11:56:55 +08:00
fix(workflow): remove hardcoded UTC timezone from new schedule node to use user timezone
This commit is contained in:
parent
d709f20e1f
commit
378c2afcd3
@ -115,7 +115,6 @@ const nodeDefault: NodeDefault<ScheduleTriggerNodeType> = {
|
|||||||
defaultValue: {
|
defaultValue: {
|
||||||
...getDefaultScheduleConfig(),
|
...getDefaultScheduleConfig(),
|
||||||
cron_expression: '',
|
cron_expression: '',
|
||||||
timezone: 'UTC',
|
|
||||||
} as ScheduleTriggerNodeType,
|
} as ScheduleTriggerNodeType,
|
||||||
checkValid(payload: ScheduleTriggerNodeType, t: any) {
|
checkValid(payload: ScheduleTriggerNodeType, t: any) {
|
||||||
const i18nPrefix = 'workflow.errorMsg'
|
const i18nPrefix = 'workflow.errorMsg'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user