Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
28
export
function
getDefaultOptions(): DefaultOptions {
29
return
Object.assign({}, getInternalDefaultOptions());
30
}
Callers
15
startOfWeekYear
Function · 0.90
formatDistance
Function · 0.90
setWeekYear
Function · 0.90
lastDayOfWeek
Function · 0.90
getWeekYear
Function · 0.90
parse
Function · 0.90
formatDuration
Function · 0.90
formatDistanceStrict
Function · 0.90
test.ts
File · 0.90
setDefaultOptions
Function · 0.90
setDay
Function · 0.90
endOfWeek
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected