bosun-monitor / bosun

Time Series Alerting Framework
http://bosun.org
MIT License
3.4k stars 495 forks source link

function to get current time in template #2429

Closed seanlook closed 4 years ago

seanlook commented 5 years ago

I don't find any function to show the current datetime in template. This will be usefull when send notification with http post.

muffix commented 5 years ago

epoch() gives you the current timestamp which you can then format.