Hi,

no date is displayed for the max value of the extra sensor 'soilMoist1'


[image: soilMoist1.png]

Here is the content of records-table.inc 


<script type="text/javascript">
    var moment_locale = "$system_locale_js";
    moment.locale(moment_locale);

    jQuery(document).ready(function() {

      jQuery("#year-soilMoist1-max-ts").text( moment.unix($year.soilMoist1.
maxtime.raw).utcOffset($moment_js_utc_offset).f$
      jQuery("#at-soilMoist1-max-ts").text( moment.unix($alltime.soilMoist1.
maxtime.raw).utcOffset($moment_js_utc_offset).$

      jQuery("#year-soilMoist1-min-ts").text( moment.unix($year.soilMoist1.
mintime.raw).utcOffset($moment_js_utc_offset).f$
      jQuery("#at-soilMoist1-min-ts").text( moment.unix($alltime.soilMoist1.
mintime.raw).utcOffset($moment_js_utc_offset).$


    });
</script>

            <tr>
                <td class="records-header" colspan=5>$obs.label.Bodenfeuchte 
( 10 cm )</td>
            </tr>
            <tr>
                <td colspan=1> </td>
                <td class="records-header-year" colspan=2>
$current.dateTime.format("%Y")</td>
                <td class="records-header-alltime" colspan=2>
$obs.label.records_all_time</td>
            </tr>
            <tr>
                <td>$obs.label.Max Bodenfeuchte</td>
                <td class="leftborder">$year.soilMoist1.max</td>
                <td id="year-soilMost1-max-ts"></td><!-- moment.js -->
                <td class="leftborder" id="at-soilMoist1-max-ts"></td><!-- 
moment.js -->
                <td>$alltime.soilMoist1.max</td>
            </tr>
            <tr>
                <td>$obs.label.Min Bodenfeuchte</td>
                <td class="leftborder">$year.soilMoist1.min</td>
                <td id="year-soilMoist1-min-ts"></td><!-- moment.js -->
                <td class="leftborder" id="at-soilMoist1-min-ts"></td><!-- 
moment.js -->
                <td>$alltime.soilMoist1.min</td>
            </tr>


Joachim

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e5e0b103-f188-47ab-aeb6-7df1ff737327o%40googlegroups.com.

Reply via email to