Skip to content

Commit 38ee675

Browse files
committed
fix: ws schedule as 12-hour format
This does not finish all tasks in #2175 but is one of the asks. @johnstcn - you should do the same lowercasing of HH->hh in #2165
1 parent 518495a commit 38ee675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/components/WorkspaceSchedule/WorkspaceSchedule.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const Language = {
6060
return "Workspace is shutting down"
6161
} else {
6262
const timezone = schedule ? extractTimezone(schedule) : dayjs.tz.guess()
63-
return deadline.tz(timezone).format("HH:mm A")
63+
return deadline.tz(timezone).format("hh:mm A")
6464
}
6565
} else if (!ttl || ttl < 1) {
6666
// If the workspace is not on, and the ttl is 0 or undefined, then the

0 commit comments

Comments
 (0)