Skip to content

Commit

Permalink
Fix datePosted useHeadMissionGoogleForJobs
Browse files Browse the repository at this point in the history
  • Loading branch information
NVaissaud committed Jan 28, 2025
1 parent d8b5ea7 commit 4d8c8c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composables/useHeadMissionGoogleForJobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export const useHeadMissionGoogleForJobs = (mission: Mission) => {
name: mission.structure.name,
value: mission.id,
},
datePosted: $dayjs(mission.start_date).format('YYYY-MM-DD'),
validThrough: $dayjs(mission.end_date).format('YYYY-MM-DD'),
datePosted: $dayjs(mission.created_at).format('YYYY-MM-DD'),
validThrough: mission.end_date ? $dayjs(mission.end_date).format('YYYY-MM-DD') : null,
applicantLocationRequirements: {
'@type': 'Country',
name: 'France',
Expand Down

0 comments on commit 4d8c8c1

Please sign in to comment.