MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / useRelativeDates

Function useRelativeDates

app/composables/useSettings.ts:120–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 * Useful for components that only need to read this specific setting.
119 */
120export function useRelativeDates() {
121 const { settings } = useSettings()
122 return computed(() => settings.value.relativeDates)
123}
124
125/**
126 * Composable for accessing just the keyboard shortcuts setting.

Callers

nothing calls this directly

Calls 1

useSettingsFunction · 0.85

Tested by

no test coverage detected