Fix appliedAt date format to RFC3339 for GraphQL mutations
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 15s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-13 12:34:12 +01:00
parent a911e6ca69
commit 81c5684102

View File

@@ -39,7 +39,7 @@ async function createApplication() {
location: form.value.location || undefined,
url: form.value.url || undefined,
notes: form.value.notes || undefined,
appliedAt: form.value.appliedAt || undefined,
appliedAt: form.value.appliedAt ? new Date(form.value.appliedAt).toISOString() : undefined,
};
const data = await gql(
`mutation CreateJobApplication($input: CreateJobApplicationInput!) {
@@ -81,7 +81,7 @@ async function saveEdit(id) {
location: editForm.value.location || undefined,
url: editForm.value.url || undefined,
notes: editForm.value.notes || undefined,
appliedAt: editForm.value.appliedAt || undefined,
appliedAt: editForm.value.appliedAt ? new Date(editForm.value.appliedAt).toISOString() : undefined,
};
const data = await gql(
`mutation UpdateJobApplication($id: ID!, $input: UpdateJobApplicationInput!) {