Skip to content

Commit e0d8278

Browse files
authored
fix notification Custom date format tip
1 parent 76f9cea commit e0d8278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/notifications.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ outputs timestamp and log level.
5555
If you want to adjust the date/time format it must show how the
5656
[reference time](https://golang.org/pkg/time/#pkg-constants) (_Mon Jan 2 15:04:05 MST 2006_) would be displayed in your
5757
custom format.
58-
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.
58+
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.
5959

6060
!!! note "Skipping notifications"
6161
To skip sending notifications that do not contain any information, you can wrap your template with `{{if .}}` and `{{end}}`.

0 commit comments

Comments
 (0)