Hi,
Hello,
In Zabbix alert emails (both problem and resolved notifications), the date format is shown as YYYY-MM-DD by default.
I would like to display the date in DD.MM.YYYY format instead (e.g., 01.05.2025).
I'm currently using HTML email templates, and I include macros like {{EVENT.DATE}} and {{EVENT.TIME}}.
I read that it's possible to format time using the .fmttime() function (e.g., {{TIME}.fmttime(%d.%m.%Y)}), but I'm not sure if this is supported in email templates.
Environment:
My questions:
Any guidance would be greatly appreciated.
Thank you!
Hello,
In Zabbix alert emails (both problem and resolved notifications), the date format is shown as YYYY-MM-DD by default.
I would like to display the date in DD.MM.YYYY format instead (e.g., 01.05.2025).
I'm currently using HTML email templates, and I include macros like {{EVENT.DATE}} and {{EVENT.TIME}}.
I read that it's possible to format time using the .fmttime() function (e.g., {{TIME}.fmttime(%d.%m.%Y)}), but I'm not sure if this is supported in email templates.
Environment:
- OS: Rocky Linux
- Zabbix Version: 7.2.6
- Email format: HTML-based
My questions:
- Is it possible to change the date format in alert emails to DD.MM.YYYY?
- Can this be done directly in the template using a macro, or does it require a deeper backend/frontend change?
- Is the .fmttime() macro function supported in notification emails?
Any guidance would be greatly appreciated.
Thank you!