From e0d82788fe8809e5c4c41af96eae05f9f590e3c0 Mon Sep 17 00:00:00 2001 From: robo <30987265+Robonau@users.noreply.github.com> Date: Sun, 10 Nov 2024 07:38:49 +0000 Subject: [PATCH] fix notification Custom date format tip --- docs/notifications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/notifications.md b/docs/notifications.md index d5da4fe..c7dc934 100644 --- a/docs/notifications.md +++ b/docs/notifications.md @@ -55,7 +55,7 @@ outputs timestamp and log level. If you want to adjust the date/time format it must show how the [reference time](https://golang.org/pkg/time/#pkg-constants) (_Mon Jan 2 15:04:05 MST 2006_) would be displayed in your custom format. - i.e., The day of the year has to be 1, the month has to be 2 (february), the hour 3 (or 15 for 24h time) etc. + i.e., The day of the year has to be 2, the month has to be 1 (january), the hour 3 (or 15 for 24h time) etc. !!! note "Skipping notifications" To skip sending notifications that do not contain any information, you can wrap your template with `{{if .}}` and `{{end}}`.