[ZBXNEXT-5050] ISO Date Format in action macros Created: 2019 Feb 18  Updated: 2024 Dec 03  Resolved: 2024 Dec 03

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0rc2

Type: New Feature Request Priority: Trivial
Reporter: Mikhail Kuznetsov Assignee: Unassigned
Resolution: Fixed Votes: 19
Labels: actions, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

Currently Zabbix returns date in macros {EVENT.DATE} in format yyyy.mm.dd. This is non-standard format and I have incompatibility with other applications, for example Redmine, when Zabbix send alerts.
Please change date format to ISO or allow user to create his own date format or chose from list in his profile.



 Comments   
Comment by Alex Kalimulin [ 2024 Aug 28 ]

Is this now solved by fmttime() macro function?

Comment by Alex Kalimulin [ 2024 Dec 03 ]

I believe now this is fully addressed in 7.2 by adding new timestamp macros:

{{EVENT.TIMESTAMP}.fmttime(%Y-%m-%dT%H:%M:%S)}
Generated at Sun Aug 03 03:20:17 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.