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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy