Skip to content

Commit

Permalink
Start scheduled report modal with local time zone (rilldata#3502)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpgreen2 authored Nov 16, 2023
1 parent 87dae45 commit 64861f5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
frequency: "Weekly",
dayOfWeek: getTodaysDayOfWeek(),
timeOfDay: getTimeIn24FormatFromDateTime(getNextQuarterHour()),
timeZone: dashboardTimeZone || userLocalIANA,
timeZone: userLocalIANA,
exportFormat: V1ExportFormat.EXPORT_FORMAT_CSV,
exportLimit: "",
recipients: [] as string[],
Expand Down Expand Up @@ -170,7 +170,7 @@
bind:value={$form["timeZone"]}
id="timeZone"
label="Time zone"
options={[dashboardTimeZone, userLocalIANA, UTCIana]
options={[userLocalIANA, dashboardTimeZone, UTCIana]
// Remove duplicates when dashboardTimeZone is already covered by userLocalIANA or UTCIana
.filter((z, i, self) => {
return self.indexOf(z) === i;
Expand Down

0 comments on commit 64861f5

Please sign in to comment.