Skip to content

Commit eb52f69

Browse files
authored
improvement(schedule): default schedule timezone (#2800)
1 parent 64b3f98 commit eb52f69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/blocks/blocks/schedule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export const ScheduleBlock: BlockConfig = {
172172
{ label: 'Melbourne (UTC+10)', id: 'Australia/Melbourne' },
173173
{ label: 'Auckland (UTC+12)', id: 'Pacific/Auckland' },
174174
],
175-
value: () => 'UTC',
175+
value: () => Intl.DateTimeFormat().resolvedOptions().timeZone,
176176
required: false,
177177
mode: 'trigger',
178178
condition: { field: 'scheduleType', value: ['minutes', 'hourly'], not: true },

0 commit comments

Comments
 (0)