A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
fix #1096
Amruth Pillaib697f7349247
diff --git a/client/utils/date.ts b/client/utils/date.tsindex fafdecaaa..0023aed7a 100644--- a/client/utils/date.ts+++ b/client/utils/date.ts@@ -38,6 +38,10 @@ export const formatDateString = (date: string | DateRange, formatStr: string): sif (!dayjs(date.start).isValid()) return null;+ if (dayjs(date.start).isSame(date.end)) {+ return dayjs(date.start).format(formatStr);+ }+if (!isEmpty(date.end) && dayjs(date.end).isValid()) {return `${dayjs(date.start).format(formatStr)} - ${dayjs(date.end).format(formatStr)}`;}