MCPcopy
hub / github.com/iamkun/dayjs / getDayjsLocaleObject

Function getDayjsLocaleObject

src/plugin/localeData/index.js:15–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 return result.map((_, index) => (result[(index + (weekStart || 0)) % 7]))
14 }
15 const getDayjsLocaleObject = () => dayjs.Ls[dayjs.locale()]
16 const getLongDateFormat = (l, format) =>
17 l.formats[format] || t(l.formats[format.toUpperCase()])
18

Callers 1

index.jsFile · 0.85

Calls 1

localeMethod · 0.65

Tested by

no test coverage detected