The problem with SEQDAY1 statement in template
Posted: Mon Jan 11, 2010 3:57 pm
I need to write to the table with template listing MIN and MAX temperature, but not to reflect reality.
Temperature as today was MIN: -1.7 ° C, but the output is -0.3 ° C and time min/max wants to see.
Temperature over seqday1 writes. I also tried seqlast24, but this does not work.
TEMPLATE:
<tr class="column-light">
<td>[seqday1_localdate@1#GH].[seqday1_localdate@1#EF]</td>
<td>[seqday1_th0_tempmin_time@1#IJ].[seqday1_th0_tempmin_time@1#KL]</td>
<td>[seqday1_th0_tempmin_c@1] °C</td>
<td>[seqday1_th0_tempmax_time@1#IJ].[seqday1_th0_tempmax_time@1#KL]</td>
<td>[seqday1_th0_tempmax_c@1] °C</td>
</tr>
<tr class="column-dark">
<td>[seqday1_localdate@2#GH].[seqday1_localdate@2#EF]</td>
<td>[seqday1_th0_tempmin_time@2#IJ].[seqday1_th0_tempmin_time@2#KL]</td>
<td>[seqday1_th0_tempmin_c@2] °C</td>
<td>[seqday1_th0_tempmax_time@2#IJ].[seqday1_th0_tempmax_time@2#KL]</td>
<td>[seqday1_th0_tempmax_c@2] °C</td>
</tr>
Result:
<tr class="column-light">
<td>11.01</td>
<td>[seqday1_th0_tempmin_time].[seqday1_th0_tempmin_time]</td>
<td>-0.6 °C</td>
<td>[seqday1_th0_tempmax_time].[seqday1_th0_tempmax_time]</td>
<td>2.3 °C</td>
</tr>
<tr class="column-dark">
<td>10.01</td>
<td>[seqday1_th0_tempmin_time].[seqday1_th0_tempmin_time]</td>
<td>-1.3 °C</td>
<td>[seqday1_th0_tempmax_time].[seqday1_th0_tempmax_time]</td>
<td>1.5 °C</td>
</tr>
Temperature as today was MIN: -1.7 ° C, but the output is -0.3 ° C and time min/max wants to see.
Temperature over seqday1 writes. I also tried seqlast24, but this does not work.
TEMPLATE:
<tr class="column-light">
<td>[seqday1_localdate@1#GH].[seqday1_localdate@1#EF]</td>
<td>[seqday1_th0_tempmin_time@1#IJ].[seqday1_th0_tempmin_time@1#KL]</td>
<td>[seqday1_th0_tempmin_c@1] °C</td>
<td>[seqday1_th0_tempmax_time@1#IJ].[seqday1_th0_tempmax_time@1#KL]</td>
<td>[seqday1_th0_tempmax_c@1] °C</td>
</tr>
<tr class="column-dark">
<td>[seqday1_localdate@2#GH].[seqday1_localdate@2#EF]</td>
<td>[seqday1_th0_tempmin_time@2#IJ].[seqday1_th0_tempmin_time@2#KL]</td>
<td>[seqday1_th0_tempmin_c@2] °C</td>
<td>[seqday1_th0_tempmax_time@2#IJ].[seqday1_th0_tempmax_time@2#KL]</td>
<td>[seqday1_th0_tempmax_c@2] °C</td>
</tr>
Result:
<tr class="column-light">
<td>11.01</td>
<td>[seqday1_th0_tempmin_time].[seqday1_th0_tempmin_time]</td>
<td>-0.6 °C</td>
<td>[seqday1_th0_tempmax_time].[seqday1_th0_tempmax_time]</td>
<td>2.3 °C</td>
</tr>
<tr class="column-dark">
<td>10.01</td>
<td>[seqday1_th0_tempmin_time].[seqday1_th0_tempmin_time]</td>
<td>-1.3 °C</td>
<td>[seqday1_th0_tempmax_time].[seqday1_th0_tempmax_time]</td>
<td>1.5 °C</td>
</tr>