Skip to content

Commit 31c0c67

Browse files
committed
fix(web): describe the fixed-time input with its server zone
1 parent bcf6f56 commit 31c0c67

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎apps/web/src/components/settings/ScheduledTasksSettings.tsx‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,6 +1895,9 @@ function ScheduledTaskEditorForm({
18951895
<Input
18961896
type="time"
18971897
id="scheduled-task-time"
1898+
aria-describedby={
1899+
runAtZone === undefined ? undefined : "scheduled-task-time-zone"
1900+
}
18981901
nativeInput
18991902
className="w-32"
19001903
value={draft.timeOfDay}
@@ -1903,7 +1906,9 @@ function ScheduledTaskEditorForm({
19031906
}
19041907
/>
19051908
{runAtZone === undefined ? null : (
1906-
<span className="text-xs text-muted-foreground">{runAtZone}</span>
1909+
<span id="scheduled-task-time-zone" className="text-xs text-muted-foreground">
1910+
{runAtZone}
1911+
</span>
19071912
)}
19081913
<span className="text-xs text-muted-foreground">on</span>
19091914
</div>

0 commit comments

Comments
 (0)