From 4929dfadcf56ad8caae8ff548b2d35fe5fd732f3 Mon Sep 17 00:00:00 2001 From: George Yatsev Date: Fri, 22 Nov 2019 13:18:36 +0200 Subject: [PATCH] Update README.md Spelling fixes --- datetime/README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/datetime/README.md b/datetime/README.md index 6fa43244..2202e986 100644 --- a/datetime/README.md +++ b/datetime/README.md @@ -1,9 +1,9 @@ # Time -The time plugin allows you create rules based on the time, day, month, year, weekday or on weekend. +The time plugin allows you to create rules based on time, day, month, year, weekday or on weekend. -For the correct setup you can configure the time zone in the plugin configuration. The language -of the "month name" and "weekday name" depends on the locale settings of the system. To have the correct +For the correct setup, you can configure the time zone in the plugin configuration. The language +of the "month name" and "weekday name" depends on the locale settings of your system. To have the correct time you need [ntp](https://en.wikipedia.org/wiki/Network_Time_Protocol). The weekday integer value stands for: @@ -21,10 +21,8 @@ The *weekend* state will be true, if the current weekday is Saturday or Sunday, ## Today The today plugin gives you information about the current day and some special times of the day like -dawn, sunrise, noon, sunset and dawn. In order to get the correct times of the current day for your location, the plugin needs to know where -you are. The plugin will autodetect your location according to you WAN IP [http://ip-api.com/json](http://ip-api.com/json). -and will download the sunset / sunrise times from the online database [http://sunrise-sunset.org/](http://sunrise-sunset.org/). -If the configured timezone does not match with the autodetected timezone from the ip the specialdates will be set to 0 (01.01.1970 - 00:00.00). +dawn, sunrise, noon, sunset and dawn. In order to get the correct times of the current day for your location, the plugin needs to know where you are. The plugin will autodetect your location according to you WAN IP [http://ip-api.com/json](http://ip-api.com/json) and will download the sunset / sunrise times from the online database [http://sunrise-sunset.org/](http://sunrise-sunset.org/). +If the configured timezone does not match with the autodetected timezone from the IP, the `specialdates` will be set to 0 (01.01.1970 - 00:00.00). ![Day times](https://raw.githubusercontent.com/guh/nymea-plugins/master/datetime/docs/images/day-times.png "Day times") @@ -32,8 +30,9 @@ Special times of a day ([original source](https://en.wikipedia.org/wiki/Twilight ## Alarm -The alarm plugin allows you to define an alarm which depends on a certain time, weekday or special day time like sunrise or -sunset. An offset can also be definend. +The alarm plugin allows you to define an alarm which depends on a certain time, weekday or special day time, like sunrise or +sunset. An offset can also be defined. ## Countdown -The countdown plugin allows you to define a countown which triggers an event on timeout. + +The countdown plugin allows you to define a countdown, which triggers an event on timeout.