Skip to content

Commit

Permalink
close #735
Browse files Browse the repository at this point in the history
  • Loading branch information
jstet committed Jun 24, 2024
1 parent 61cdd6b commit 8c7c67b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib/js/parsing/processing/cards.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export function processJobs(job, locale) {
location: job.location,
language: job.language,
deadline: new Date(job.deadline),
procDeadline: genDate(job.deadline, locale),
procDeadline: genDate(job.deadline, locale, true),
salary: job.salary,
fte: job.FTE,
jobType: translate(locale, `contractType.${job.type}`, {}).text,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/js/parsing/processing/single.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function processJob(job, locale) {
summary: parsedJob.translation.summary,
location: job.location,
language: job.language,
procDeadline: genDate(job.deadline, locale),
procDeadline: genDate(job.deadline, locale, true),
salary: job.salary,
fte: job.FTE,
jobType: translate(locale, `contractType.${job.type}`, {}).text,
Expand Down
4 changes: 2 additions & 2 deletions src/routes/[[locale=locale]]/jobs/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<JobCard {...(({deadline, ...rest}) => rest)(job)} />
{/each}
{:else}
<p class="px-4">
<p class="">
{noJobMessage}
</p>
{/if}
Expand All @@ -52,7 +52,7 @@
<JobCard {...(({deadline, ...rest}) => rest)(job)} />
{/each}
{:else}
<p class="px-4">
<p class="">
{noJobMessage}
</p>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/[[locale=locale]]/jobs/queries.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const jobsOverviewQuery = `
query Jobs($status: [String] = ["published"]) {
Jobs(filter: { status: { _in: $status } }) {
Jobs(filter: { status: { _in: $status } }, sort: "deadline") {
slug
language
deadline
Expand Down

0 comments on commit 8c7c67b

Please sign in to comment.