alertmanager/docs
George Robinson dc1e1a2b88
Add date and tz functions to templates (#3812)
* Add date and tz functions to templates

This commit adds the date and tz functions to templates. This means
users can now format time in a specified format and also change
the timezone to their specific locale.

An example of how these functions work, and can be composed together,
can be seen here:

	{{ .StartsAt | tz "Europe/Paris" | date "15:04:05 MST" }}

Signed-off-by: George Robinson <george.robinson@grafana.com>

---------

Signed-off-by: George Robinson <george.robinson@grafana.com>
2024-04-22 16:15:33 +02:00
..
alertmanager.md Release 0.21 documentation (#2294) 2020-06-12 12:25:00 +02:00
clients.md Release 0.21 documentation (#2294) 2020-06-12 12:25:00 +02:00
configuration.md docs: better descibe `email_config.to` fromat (#3760) 2024-03-14 12:56:31 +00:00
https.md Merge pull request #2956 from a-gavin/https_docs 2022-09-05 11:51:46 +02:00
index.md Release 0.21 documentation (#2294) 2020-06-12 12:25:00 +02:00
management_api.md /-/{healthy,ready}/ respond to HEAD (#3039) 2022-09-09 16:08:46 +02:00
notification_examples.md Update notification_examples.md (#3707) 2024-02-13 12:40:46 +00:00
notifications.md Add date and tz functions to templates (#3812) 2024-04-22 16:15:33 +02:00
overview.md Release 0.21 documentation (#2294) 2020-06-12 12:25:00 +02:00