improved example documentation

This commit is contained in:
Matthias Hannig 2018-07-05 14:48:47 +02:00
parent b5005f4006
commit 82e91cfed2

View File

@ -52,13 +52,16 @@ api = http://rs1.example.com:29184/
# Optional:
show_last_reboot = true
timezone = UTC
# Also optional: examples for time format
servertime = 2006-01-02T15:04:05.999999999Z07:00
servertime_short = 2006-01-02
servertime_ext = Mon, 02 Jan 2006 15:04:05 -0700
[source.1]
name = rs1.example.com (IPv6)
[source.1.birdwatcher]
timezone = Europe/Brussels
api = http://rs1.example.com:29186/
# Optional: Examples for time format
# Please see https://golang.org/pkg/time/#pkg-constants for an
# explanation on how time parsing in go works.
servertime = 2006-01-02T15:04:05Z07:00
servertime_short = 02.01.2006
servertime_ext = Mon, 02 Jan 2006 15:04:05 -0700