Format date in PDF

Hi, in a table, the date is shown correctly. However, in the PDF query, the same date is shown:
Date of approval: 2023-10-20T00:00:00.000Z

It should look like 2023-10-20 (or Oct. 20, 2023).

How can I change this in the PDF query, which now shows:

Found it: {{ moment(table7.selectedRow.date_audit).format('YYYY-MM-DD') }}