From 159a520014bed2f2c2f321971b64543b56e186c1 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sun, 23 Oct 2016 00:15:10 +0200 Subject: [PATCH] Optimisations to 12months and 24hrs tables. --- _templates/12months.txt | 2 +- _templates/24hrs.txt | 81 +++++++++++++++++++++-------------------- 2 files changed, 43 insertions(+), 40 deletions(-) diff --git a/_templates/12months.txt b/_templates/12months.txt index 0d27d9c..1e72076 100644 --- a/_templates/12months.txt +++ b/_templates/12months.txt @@ -1,7 +1,7 @@ #encoding utf8# #locale True# #timezone local# - +
diff --git a/_templates/24hrs.txt b/_templates/24hrs.txt index f07afbd..a995647 100644 --- a/_templates/24hrs.txt +++ b/_templates/24hrs.txt @@ -3,47 +3,50 @@ #timezone local# #roundtime True# #daily# -
Monat
#jump -1# #loop 2# - -
- #start "Von %H%M %Z am %d %b bis" "letzte 24 Std. bis" "[x, None][loop_count == 2]"# + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -#idx " " "" "[x, None][loop_count==1]"# + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ #start "Von %H%M %Z am %d %b bis" "letzte 24 Std. bis" "[x, None][loop_count == 2]"# #idx " %H%M %Z am %d %b %Y"# - Datum & Zeit
Tag max. Temperatur#temp_out_max "%.1f ℃"##temp_out_max_t "%Y-%m-%d%H%M %Z"#
Tag durchschn. Temperatur#temp_out_ave "%.1f ℃"#
Nacht min. Temperatur#temp_out_min "%.1f ℃"##temp_out_min_t "%Y-%m-%d%H%M %Z"#
Gesamter Regenfall#rain "%.1f ㎜"#
Durchschn. Windgeschwindigkeit#wind_ave "%.0f ㎞/h" "-" "wind_kmph(x)"#
Höchste Boe-Geschwindigkeit#wind_gust "%.0f ㎞/h" "-" "wind_kmph(x)"##wind_gust_t "%Y-%m-%d%H%M %Z"#
 
Datum & Zeit
Tag max. Temperatur#temp_out_max "%.1f ℃"##temp_out_max_t "%Y-%m-%d%H%M %Z"#
Tag durchschn. Temperatur#temp_out_ave "%.1f ℃"#
Nacht min. Temperatur#temp_out_min "%.1f ℃"##temp_out_min_t "%Y-%m-%d%H%M %Z"#
Gesamter Regenfall#rain "%.1f ㎜"#
Durchschn. Windgeschwindigkeit#wind_ave "%.0f ㎞/h" "-" "wind_kmph(x)"#
Höchste Boe-Geschwindigkeit#wind_gust "%.0f ㎞/h" "-" "wind_kmph(x)"##wind_gust_t "%Y-%m-%d%H%M %Z"#
#jump 1# #endloop# -