Commit d1bd4c5f authored by Philipp's avatar Philipp

added loop to amonth file. closes...

added loop to amonth file. closes !3
parent 18cbec25
#import datetime
#encoding UTF-8
#for $m in $year.months
[
#for $d in $month.days
#for $d in $m.days
{ "dateTime": "$d.dateTime.format("%d.")",
#if $d.inTemp.avg.formatted != "0"
"inTemp": $d.inTemp.avg.formatted.replace(",", "."),
......@@ -66,3 +67,4 @@
#end for
{}
]
#end for
\ No newline at end of file
#import datetime
#encoding UTF-8
#for $m in $year.months
[
#for $d in $month.days
#for $d in $m.days
{ "dateTime": "$d.dateTime.format("%d.")",
#if $d.inTemp.avg.formatted != "0"
"inTemp": $d.inTemp.avg.formatted.replace(",", "."),
......@@ -66,3 +67,4 @@
#end for
{}
]
#end for
\ No newline at end of file
#import datetime
#encoding UTF-8
#for $m in $year.months
[
#for $d in $month.days
#for $d in $m.days
{ "dateTime": "$d.dateTime.format("%d.")",
#if $d.inTemp.avg.formatted != "0"
"inTemp": $d.inTemp.avg.formatted.replace(",", "."),
......@@ -66,3 +67,4 @@
#end for
{}
]
#end for
\ No newline at end of file
#import datetime
#encoding UTF-8
#for $m in $year.months
[
#for $d in $month.days
#for $d in $m.days
{ "dateTime": "$d.dateTime.format("%d.")",
#if $d.inTemp.avg.formatted != "0"
"inTemp": $d.inTemp.avg.formatted.replace(",", "."),
......@@ -66,3 +67,4 @@
#end for
{}
]
#end for
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment