From 043ccf2887c712715f79286df624045ef76edb32 Mon Sep 17 00:00:00 2001 From: roe-dl Date: Sun, 6 Nov 2022 10:28:58 +0100 Subject: [PATCH] additions to documentation --- README-de.md | 19 +++++++++++++++++++ README.md | 18 ++++++++++++++++++ bin/user/GTS.py | 2 +- bin/user/dayboundarystats.py | 2 +- changelog | 3 +++ install.py | 2 +- 6 files changed, 43 insertions(+), 3 deletions(-) diff --git a/README-de.md b/README-de.md index f0bda65..1df7503 100644 --- a/README-de.md +++ b/README-de.md @@ -438,6 +438,25 @@ Beispiele: #end for ``` +* Sonnenaufgang, Sonnenuntergang und Tageslichtlänge unter + Verwendung der `timestamp`-Option + ``` + + + + + + + #for $dd in $week.days + + + + + + + #end for +
sunrisesunsetdaylight
$dd.format("%A")$daylight(timestamp=$dd).start$daylight(timestamp=$dd).end$daylight(timestamp=$dd).length
+ ``` ## Algorithmus: diff --git a/README.md b/README.md index 22efe6f..22426b5 100644 --- a/README.md +++ b/README.md @@ -428,6 +428,24 @@ Examples: #end for ``` +* sunrise, sunset, and duration of daylight using the `timestamp` option + ``` + + + + + + + #for $dd in $week.days + + + + + + + #end for +
sunrisesunsetdaylight
$dd.format("%A")$daylight(timestamp=$dd).start$daylight(timestamp=$dd).end$daylight(timestamp=$dd).length
+ ``` ## Algorithm: diff --git a/bin/user/GTS.py b/bin/user/GTS.py index 64273bc..230ad99 100644 --- a/bin/user/GTS.py +++ b/bin/user/GTS.py @@ -101,7 +101,7 @@ """ -VERSION = "0.8a5" +VERSION = "0.8b1" # deal with differences between python 2 and python 3 try: diff --git a/bin/user/dayboundarystats.py b/bin/user/dayboundarystats.py index e6c3a4a..a7dce73 100644 --- a/bin/user/dayboundarystats.py +++ b/bin/user/dayboundarystats.py @@ -47,7 +47,7 @@ """ -VERSION = "0.8a5" +VERSION = "0.8b1" # deal with differences between python 2 and python 3 try: diff --git a/changelog b/changelog index 7a83edd..f791027 100644 --- a/changelog +++ b/changelog @@ -58,3 +58,6 @@ 0.8a5 04nov2022 * rename option "day" to "timestamp" * get correct temperature and barometer for calculating sunrise and sunset in $daylight +* property "length" +0.8b1 06nov2022 +* docu diff --git a/install.py b/install.py index eced759..54fb252 100644 --- a/install.py +++ b/install.py @@ -10,7 +10,7 @@ def loader(): class GTSInstaller(ExtensionInstaller): def __init__(self): super(GTSInstaller, self).__init__( - version="0.8a5", + version="0.8b1", name='GTS', description='Provides Gruenlandtemperatursumme (GTS), a kind of growing degree days', author="Johanna Roedenbeck",