mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
fix(frontend): timezone troubleshoot
This commit is contained in:
@@ -12,9 +12,14 @@
|
||||
export let schedule: string
|
||||
// export let offset: number = -60 * Math.floor(new Date().getTimezoneOffset() / 60)
|
||||
export let timezone: string // = Intl.DateTimeFormat().resolvedOptions().timeZone
|
||||
|
||||
export let disabled = false
|
||||
export let validCRON = true
|
||||
|
||||
$: if (timezone === 'CET') {
|
||||
timezone = 'Europe/Paris'
|
||||
}
|
||||
|
||||
let preview: string[] = []
|
||||
// If the user has already entered a cron string, switching to the basic tab will override it.
|
||||
let executeEvery: 'second' | 'minute' | 'hour' | 'day-month' | 'month' | 'day-week' = 'minute'
|
||||
|
||||
Reference in New Issue
Block a user