Time Format in Email Alert

Hello All,

I created Email Alert for Appointment. I want to Display time in HH:MM format but its showing in HH:MM:SS format.

Can anyone help me to solve this??

Thanks,

Bhagyashree

use this code to format time

{{ frappe.utils.get_datetime(frappe.utils.now()).strftime(“%H:%M”) }}

1 Like