This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
datetime_v6_0 [2015/03/24 08:43] pilino1234 Added information about new ntp server settings |
datetime_v6_0 [2015/03/24 12:55] pilino1234 old revision restored (2015/03/22 17:31) |
||
---|---|---|---|
Line 96: | Line 96: | ||
The weekday id counts day 1 as Sunday | The weekday id counts day 1 as Sunday | ||
- | |||
- | ==== Nightly ==== | ||
- | ntpserver has been removed from the datetime id. Instead, ntp-server are defined in the settings section of config.json in an array like this: | ||
- | |||
- | <code> | ||
- | "ntp-servers": [ "0.nl.pool.ntp.org", "1.nl.pool.ntp.org", ... ], | ||
- | "ntp-sync": 1 | ||
- | </code> | ||
- | |||
- | Both the datetime and sunriseset protocol will use the ntp time to adjust | ||
- | their time when needed. | ||
- | |||
- |