⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
'use client';
import { useTranslations } from 'next-intl';
import { byKey } from '@/utils/messageKey';
import type { DueDatePreset } from '../utils/dueDatePresets';
// The name of a due-date quick preset ("Tomorrow", "End of this week").
export function useDueDatePresetLabel() {
const t = useTranslations('issue.dueDatePresets');
return (preset: DueDatePreset) => byKey(t)(preset);
}