feat: update date format in mail #26

Merged
kailasdevdas merged 1 commits from feat/email-date-format into dev 2026-05-13 09:03:56 +00:00
Showing only changes of commit fa2b02ad23 - Show all commits
@@ -84,8 +84,12 @@ export const createAppointment = async (req, res) => {
<tr>
<td style="padding: 8px 0;"><b>Date:</b></td>
<td style="padding: 8px 0;">
${new Date(date).toLocaleDateString()}
</td>
${new Date(date).toLocaleDateString("en-GB", {
day: "2-digit",
month: "long",
year: "numeric",
})}
</td>
</tr>
</table>