Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.
TypeScript ai-agentai-resume-analyzerapplication-trackerapplication-tracking-systematscareerjob-applicationjob-automationjob-huntingjob-searchjob-seeker-toolsjob-trackerjob-trackingjobsearchjobseekersmcpollamaresumeresume-reviewself-hosted
export const roundToTenth = (hours: number) => Math.round(hours * 10) / 10;
// Local-time day range: start at 00:00 daysBack days ago, end today 23:59:59.999
export const getLocalDayRange = (
daysBack: number,
): { start: Date; end: Date } => {
const now = new Date();
const end = new Date(
now.getFullYear(),
now.getMonth(),
now.getDate(),
23,
59,
59,
999,
);
const start = new Date(
now.getFullYear(),
now.getMonth(),
now.getDate() - daysBack,
0,
0,
0,
0,
);
return { start, end };
};