mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-17 02:57:01 +00:00
* 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> |
||
---|---|---|
.. | ||
default.tmpl | ||
Dockerfile | ||
email.html | ||
email.tmpl | ||
inline-css.js | ||
Makefile | ||
template_test.go | ||
template.go |