MCPcopy Index your code
hub / github.com/bytebase/bytebase / getActiveLocale

Function getActiveLocale

frontend/src/utils/datetime.ts:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8};
9
10export function getActiveLocale(): string {
11 return i18n.language;
12}
13
14export function formatRelativeTime(
15 timestampMs: number,

Callers 3

formatRelativeTimeFunction · 0.85
formatAbsoluteDateTimeFunction · 0.85
formatAbsoluteDateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected