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
Fix: Present date issue during ai resume review
Khuram Niaz45b11a3f397c
diff --git a/src/lib/ai/tools/preprocessing.ts b/src/lib/ai/tools/preprocessing.tsindex 21009b9..3a12269 100644--- a/src/lib/ai/tools/preprocessing.ts+++ b/src/lib/ai/tools/preprocessing.ts@@ -118,9 +118,10 @@ export const convertResumeToText = (resume: Resume): Promise<string> => {.map((experience) => {const desc = removeHtmlTags(experience.description);const startDate = formatDate(experience.startDate);- const endDate = experience.currentJob- ? "Present"- : formatDate(experience.endDate);+ const endDate =+ experience.currentJob || !experience.endDate+ ? "Present"+ : formatDate(experience.endDate);const parts = [`Company: ${experience.Company.label}`,`Job Title: ${experience.jobTitle.label}`,