Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 92db80c

Browse files
authored
fix: sort time zones (coder#2210)
Summary: The list of time zones in the edit workspace schedule form is not sorted alphabetically.
1 parent 518495a commit 92db80c

File tree

1 file changed

+1
-1
lines changed
  • site/src/components/WorkspaceScheduleForm

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import tzData from "tzdata"
22

3-
export const zones: string[] = Object.keys(tzData.zones)
3+
export const zones: string[] = Object.keys(tzData.zones).sort()

0 commit comments

Comments
 (0)