Skip to content

Commit

Permalink
[connectors] fix(Zendesk) - invalid date errors (#8921)
Browse files Browse the repository at this point in the history
* fix: fix invalid date errors

* fix: actually created_at is already in ISO format 😇
  • Loading branch information
aubin-tchoi authored Nov 26, 2024
1 parent 806d721 commit 9f8d1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/src/connectors/zendesk/lib/sync_ticket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ ${comments
author = null;
}
return `
[${new Date(Number(comment?.created_at)).toISOString()}] ${
[${comment?.created_at}] ${
author ? `${author.name} (${author.email})` : "Unknown User"
}:
${comment.body}`;
Expand Down

0 comments on commit 9f8d1f0

Please sign in to comment.