MCPcopy
hub / github.com/date-fns/date-fns / getDefaultOptions

Function getDefaultOptions

pkgs/core/src/getDefaultOptions/index.ts:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 * //=> { weekStarsOn: 1, firstWeekContainsDate: 4 }
27 */
28export function getDefaultOptions(): DefaultOptions {
29 return Object.assign({}, getInternalDefaultOptions());
30}

Callers 15

startOfWeekYearFunction · 0.90
formatDistanceFunction · 0.90
setWeekYearFunction · 0.90
lastDayOfWeekFunction · 0.90
getWeekYearFunction · 0.90
parseFunction · 0.90
formatDurationFunction · 0.90
formatDistanceStrictFunction · 0.90
test.tsFile · 0.90
setDefaultOptionsFunction · 0.90
setDayFunction · 0.90
endOfWeekFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected