Merge pull request 'feat: update date format in mail' (#26) from feat/email-date-format into dev

Reviewed-on: #26
This commit was merged in pull request #26.
This commit is contained in:
2026-05-13 09:03:56 +00:00
@@ -84,7 +84,11 @@ export const createAppointment = async (req, res) => {
<tr> <tr>
<td style="padding: 8px 0;"><b>Date:</b></td> <td style="padding: 8px 0;"><b>Date:</b></td>
<td style="padding: 8px 0;"> <td style="padding: 8px 0;">
${new Date(date).toLocaleDateString()} ${new Date(date).toLocaleDateString("en-GB", {
day: "2-digit",
month: "long",
year: "numeric",
})}
</td> </td>
</tr> </tr>
</table> </table>