MCPcopy Create free account
hub / github.com/api-platform/website / convertTime

Function convertTime

pwa/utils/index.tsx:51–52  ·  view source on GitHub ↗
(time)

Source from the content-addressed store, hash-verified

49};
50
51export const convertTime: (time: string) => string = (time) =>
52 dayjs(time, "HH:mm").format("HH:mm");
53
54export const getVersionAndSlugFromSlugs = (allSlugs: string[]) => {
55 const version = versions.includes(allSlugs[0].substring(1))

Callers 1

EventInfosCardFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected