Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

341 B
Raw Blame
import { computed, type ComputedRef } from 'vue'
import type { FirstDayOfWeek } from 'taskview-api'
import { useUiPreferencesStore } from '@/stores/uiPreferences.store'

export function useWeekStart(): ComputedRef<FirstDayOfWeek | undefined> {
  const store = useUiPreferencesStore()
  return computed(() => store.settings.firstDayOfWeek)
}