From 32da351e786dd825fcc465d88d6a125986c25c36 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Thu, 20 Oct 2016 12:57:38 +0200 Subject: [PATCH] Improved text templates. --- _templates/12months.txt | 8 ++++++-- _templates/24hrs.txt | 2 ++ _templates/6hrs.txt | 2 ++ _templates/allmonths.txt | 6 +++++- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/_templates/12months.txt b/_templates/12months.txt index 5e85758..25e7166 100644 --- a/_templates/12months.txt +++ b/_templates/12months.txt @@ -1,13 +1,16 @@ +#encoding html# - + + + @@ -22,7 +25,7 @@ #jump -11# #loop 12# - + @@ -31,6 +34,7 @@ + #jump 1# #endloop# diff --git a/_templates/24hrs.txt b/_templates/24hrs.txt index 9d85a6f..7a2c2af 100644 --- a/_templates/24hrs.txt +++ b/_templates/24hrs.txt @@ -1,5 +1,7 @@ +#encoding html# #daily# #timezone local# +#roundtime True#
Monat TemperaturRegenfallRegen
Tag max. Ø Nacht min.MengeTage
höchste
#idx "%B %Y"##calc "data['start']+DAY" "%B %Y"# #temp_out_max_hi "%.1f ℃"# #temp_out_max_ave "%.1f ℃"# #temp_out_max_lo "%.1f ℃"##temp_out_min_ave "%.1f ℃"# #temp_out_min_lo "%.1f ℃"# #rain "%0.1f ㎜"##rain_days "%d"#
#jump -1# #loop 2# diff --git a/_templates/6hrs.txt b/_templates/6hrs.txt index 1b72aa8..44dc0e4 100644 --- a/_templates/6hrs.txt +++ b/_templates/6hrs.txt @@ -1,3 +1,4 @@ +#encoding html#
@@ -16,6 +17,7 @@ #timezone local# +#roundtime True# #hourly# #jump -6# #loop 7# diff --git a/_templates/allmonths.txt b/_templates/allmonths.txt index 0a111a7..373f710 100644 --- a/_templates/allmonths.txt +++ b/_templates/allmonths.txt @@ -1,13 +1,16 @@ +#encoding html#
Datum & ZeitBoe
- + + + @@ -30,6 +33,7 @@ + #jump -1# #endloop#
Monat TemperaturRegenfallRegen
Tag max. Ø Nacht min.MengeTage
höchstes#temp_out_min_ave "%.1f ℃"# #temp_out_min_lo "%.1f ℃"# #rain "%0.1f ㎜"##rain_days "%d"#