dc1e1a2b88
* 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> |
||
---|---|---|
.. | ||
Dockerfile | ||
Makefile | ||
default.tmpl | ||
email.html | ||
email.tmpl | ||
inline-css.js | ||
template.go | ||
template_test.go |