Fix - Integration JSON Resume Empty Date
This commit is contained in:
parent
ab90a2e1dd
commit
110797da9d
|
@ -338,8 +338,8 @@ export class IntegrationsService {
|
|||
summary: get(item, 'summary'),
|
||||
url: get(item, 'url'),
|
||||
date: {
|
||||
start: dayjs(get(item, 'startDate')).toISOString(),
|
||||
end: dayjs(get(item, 'endDate')).toISOString(),
|
||||
start: this.parseDate(get(item, 'startDate')),
|
||||
end: this.parseDate(get(item, 'endDate')),
|
||||
},
|
||||
} as WorkExperience,
|
||||
],
|
||||
|
@ -367,8 +367,8 @@ export class IntegrationsService {
|
|||
summary: get(item, 'summary'),
|
||||
url: get(item, 'url'),
|
||||
date: {
|
||||
start: dayjs(get(item, 'startDate')).toISOString(),
|
||||
end: dayjs(get(item, 'endDate')).toISOString(),
|
||||
start: this.parseDate(get(item, 'startDate')),
|
||||
end: this.parseDate(get(item, 'endDate')),
|
||||
},
|
||||
} as Volunteer,
|
||||
],
|
||||
|
@ -398,8 +398,8 @@ export class IntegrationsService {
|
|||
url: get(item, 'url'),
|
||||
courses: get(item, 'courses', []),
|
||||
date: {
|
||||
start: dayjs(get(item, 'startDate')).toISOString(),
|
||||
end: dayjs(get(item, 'endDate')).toISOString(),
|
||||
start: this.parseDate(get(item, 'startDate')),
|
||||
end: this.parseDate(get(item, 'endDate')),
|
||||
},
|
||||
} as Education,
|
||||
],
|
||||
|
@ -426,7 +426,7 @@ export class IntegrationsService {
|
|||
awarder: get(award, 'awarder'),
|
||||
summary: get(award, 'summary'),
|
||||
url: get(award, 'url'),
|
||||
date: dayjs(get(award, 'date')).toISOString(),
|
||||
date: this.parseDate(get(award, 'date')),
|
||||
} as Award,
|
||||
],
|
||||
},
|
||||
|
@ -452,7 +452,7 @@ export class IntegrationsService {
|
|||
publisher: get(publication, 'publisher'),
|
||||
summary: get(publication, 'summary'),
|
||||
url: get(publication, 'url'),
|
||||
date: dayjs(get(publication, 'releaseDate')).toISOString(),
|
||||
date: this.parseDate(get(publication, 'releaseDate')),
|
||||
} as Publication,
|
||||
],
|
||||
},
|
||||
|
@ -575,8 +575,8 @@ export class IntegrationsService {
|
|||
keywords: get(project, 'keywords'),
|
||||
url: get(project, 'url'),
|
||||
date: {
|
||||
start: dayjs(get(project, 'startDate')).toISOString(),
|
||||
end: dayjs(get(project, 'endDate')).toISOString(),
|
||||
start: this.parseDate(get(project, 'startDate')),
|
||||
end: this.parseDate(get(project, 'endDate')),
|
||||
},
|
||||
} as Project,
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue