From 9afff2817288c0ffa960403f4cb0558aff1721d3 Mon Sep 17 00:00:00 2001 From: Tom Keffer Date: Sat, 20 Mar 2021 08:32:47 -0700 Subject: [PATCH] Changed test of $jsonize() to use highs and lows for the month, instead of year. Matches other tests. --- bin/weewx/tests/expected/StandardTest/metric/series.html | 2 +- bin/weewx/tests/expected/StandardTest/series.html | 2 +- bin/weewx/tests/test_skins/StandardTest/series.html.tmpl | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/weewx/tests/expected/StandardTest/metric/series.html b/bin/weewx/tests/expected/StandardTest/metric/series.html index ab9a0b76..b664d6eb 100644 --- a/bin/weewx/tests/expected/StandardTest/metric/series.html +++ b/bin/weewx/tests/expected/StandardTest/metric/series.html @@ -73,7 +73,7 @@

Aggregated series, using $jsonize(), and rounding of raw data: $jsonize($zip($min.start.unix_epoch_ms.raw, $min.data.degree_C.raw(2), $max.data.degree_C.raw(2)))

-    [[1262332800000.0, -28.89, -6.67], [1262419200000.0, -28.88, -6.66], [1262505600000.0, -28.87, -6.64], [1262592000000.0, -28.86, -6.62], [1262678400000.0, -28.83, -6.6], [1262764800000.0, -28.8, -6.56], [1262851200000.0, -28.77, -6.52], [1262937600000.0, -28.72, -6.48], [1263024000000.0, -28.67, -6.42], [1263110400000.0, -28.62, -6.36], [1263196800000.0, -28.55, -6.3], [1263283200000.0, -28.48, -6.22], [1263369600000.0, -28.41, -6.14], [1263456000000.0, -28.32, -6.06], [1263542400000.0, -28.24, -5.97], [1263628800000.0, -28.14, -5.87], [1263715200000.0, -28.04, -5.76], [1263801600000.0, -27.93, -5.65], [1263888000000.0, -27.82, -5.53], [1263974400000.0, -27.7, -5.41], [1264060800000.0, -27.57, -5.28], [1264147200000.0, -27.44, -5.14], [1264233600000.0, -27.3, -5.0], [1264320000000.0, -27.15, -4.85], [1264406400000.0, -27.0, -4.7], [1264492800000.0, -26.84, -4.54], [1264579200000.0, -26.59, -4.37], [1264665600000.0, -26.51, -4.2], [1264752000000.0, -26.33, -4.02], [1264838400000.0, -26.15, -3.84], [1264924800000.0, -25.97, -3.65], [1265011200000.0, -25.77, -3.45], [1265097600000.0, -25.58, -3.25], [1265184000000.0, -25.37, -3.05], [1265270400000.0, -25.16, -2.83], [1265356800000.0, -24.95, -2.62], [1265443200000.0, -24.73, -2.39], [1265529600000.0, -24.5, -2.17], [1265616000000.0, -24.27, -1.93], [1265702400000.0, -24.04, -1.69], [1265788800000.0, -23.8, -1.45], [1265875200000.0, -23.55, -1.2], [1265961600000.0, -23.3, -0.95], [1266048000000.0, -23.04, -0.69], [1266134400000.0, -22.78, -0.43], [1266220800000.0, -22.51, -0.16], [1266307200000.0, -22.24, 0.11], [1266393600000.0, -21.97, 0.39], [1266480000000.0, -21.69, 0.67], [1266566400000.0, -21.41, 0.96], [1266652800000.0, -21.12, 1.25], [1266739200000.0, -20.82, 1.55], [1266825600000.0, -20.53, 1.84], [1266912000000.0, -20.23, 2.15], [1266998400000.0, -19.92, 2.46], [1267084800000.0, -19.61, 2.77], [1267171200000.0, -19.3, 3.08], [1267257600000.0, -18.98, 3.4], [1267344000000.0, -18.66, 3.72], [1267430400000.0, -18.34, 4.05], [1267516800000.0, -18.01, 4.38], [1267603200000.0, -17.68, 4.62], [1267689600000.0, -17.35, 5.04], [1267776000000.0, -17.01, 5.38], [1267862400000.0, -16.67, 5.72], [1267948800000.0, -16.33, 6.07], [1268035200000.0, -15.98, 6.42], [1268121600000.0, -15.63, 6.77], [1268208000000.0, -15.28, 7.12], [1268294400000.0, -14.93, 7.47], [1268380800000.0, -14.57, 7.83], [1268467200000.0, -14.21, 8.19], [1268553600000.0, -13.85, 8.55], [1268636400000.0, -13.49, 8.92], [1268722800000.0, -13.12, 9.28], [1268809200000.0, -12.76, 9.65], [1268895600000.0, -12.39, 10.02], [1268982000000.0, -12.02, 10.39], [1269068400000.0, -11.64, 10.76], [1269154800000.0, -11.27, 11.14], [1269241200000.0, -10.9, 11.51], [1269327600000.0, -10.52, 11.89], [1269414000000.0, -10.14, 12.27], [1269500400000.0, -9.76, 12.65], [1269586800000.0, -9.39, 13.03], [1269673200000.0, -9.01, 13.41], [1269759600000.0, -8.62, 13.79], [1269846000000.0, -8.24, 14.17], [1269932400000.0, -7.86, 14.55], [1270018800000.0, -7.48, 14.93], [1270105200000.0, -7.1, 15.32], [1270191600000.0, -6.71, 15.7], [1270278000000.0, -6.33, 16.08], [1270364400000.0, -5.95, 16.46], [1270450800000.0, -5.57, 16.85], [1270537200000.0, -5.19, 17.23], [1270623600000.0, -4.8, 17.61], [1270710000000.0, -4.34, 17.99], [1270796400000.0, -4.04, 18.37], [1270882800000.0, -3.66, 18.75], [1270969200000.0, -3.28, 19.13], [1271055600000.0, -2.91, 19.5], [1271142000000.0, -2.53, 19.88], [1271228400000.0, -2.16, 20.25], [1271314800000.0, -1.78, 20.63], [1271401200000.0, -1.41, 21.0], [1271487600000.0, -1.04, 21.37], [1271574000000.0, -0.67, 21.74], [1271660400000.0, -0.3, 22.1], [1271746800000.0, 0.06, 22.47], [1271833200000.0, 0.43, 22.83], [1271919600000.0, 0.79, 23.19], [1272006000000.0, 1.15, 23.55], [1272092400000.0, 1.5, 23.9], [1272178800000.0, 1.86, 24.26], [1272265200000.0, 2.21, 24.61], [1272351600000.0, 2.56, 24.96], [1272438000000.0, 2.91, 25.3], [1272524400000.0, 3.25, 25.64], [1272610800000.0, 3.59, 25.98], [1272697200000.0, 3.93, 26.32], [1272783600000.0, 4.26, 26.65], [1272870000000.0, 4.6, 26.98], [1272956400000.0, 4.92, 27.31], [1273042800000.0, 5.25, 27.63], [1273129200000.0, 5.57, 27.95], [1273215600000.0, 5.89, 28.27], [1273302000000.0, 6.2, 28.58], [1273388400000.0, 6.51, 28.89], [1273474800000.0, 6.82, 29.19], [1273561200000.0, 7.12, 29.49], [1273647600000.0, 7.42, 29.79], [1273734000000.0, 7.71, 29.99], [1273820400000.0, 8.0, 30.37], [1273906800000.0, 8.29, 30.65], [1273993200000.0, 8.57, 30.93], [1274079600000.0, 8.84, 31.2], [1274166000000.0, 9.11, 31.47], [1274252400000.0, 9.38, 31.74], [1274338800000.0, 9.64, 32.0], [1274425200000.0, 9.9, 32.25], [1274511600000.0, 10.15, 32.5], [1274598000000.0, 10.4, 32.74], [1274684400000.0, 10.64, 32.98], [1274770800000.0, 10.88, 33.22], [1274857200000.0, 11.11, 33.45], [1274943600000.0, 11.34, 33.67], [1275030000000.0, 11.56, 33.89], [1275116400000.0, 11.78, 34.11], [1275202800000.0, 11.99, 34.31], [1275289200000.0, 12.19, 34.52], [1275375600000.0, 12.39, 34.71], [1275462000000.0, 12.59, 34.9], [1275548400000.0, 12.77, 35.09], [1275634800000.0, 12.96, 35.27], [1275721200000.0, 13.13, 35.44], [1275807600000.0, 13.3, 35.61], [1275894000000.0, 13.47, 35.77], [1275980400000.0, 13.63, 35.93], [1276066800000.0, 13.78, 36.08], [1276153200000.0, 13.93, 36.22], [1276239600000.0, 14.07, 36.36], [1276326000000.0, 14.2, 36.49], [1276412400000.0, 14.33, 36.62], [1276498800000.0, 14.45, 36.73], [1276585200000.0, 14.57, 36.85], [1276671600000.0, 14.68, 36.95], [1276758000000.0, 14.78, 37.05], [1276844400000.0, 14.97, 37.15], [1276930800000.0, 14.97, 37.23], [1277017200000.0, 15.05, 37.32], [1277103600000.0, 15.13, 37.39], [1277190000000.0, 15.2, 37.46], [1277276400000.0, 15.27, 37.52], [1277362800000.0, 15.33, 37.57], [1277449200000.0, 15.38, 37.62], [1277535600000.0, 15.42, 37.66], [1277622000000.0, 15.46, 37.7], [1277708400000.0, 15.49, 37.73], [1277794800000.0, 15.52, 37.75], [1277881200000.0, 15.54, 37.77], [1277967600000.0, 15.55, 37.78], [1278054000000.0, 15.56, 37.78], [1278140400000.0, 15.55, 37.77], [1278226800000.0, 15.55, 37.76], [1278313200000.0, 15.53, 37.75], [1278399600000.0, 15.51, 37.72], [1278486000000.0, 15.49, 37.69], [1278572400000.0, 15.45, 37.65], [1278658800000.0, 15.41, 37.61], [1278745200000.0, 15.36, 37.56], [1278831600000.0, 15.31, 37.5], [1278918000000.0, 15.25, 37.44], [1279004400000.0, 15.18, 37.37], [1279090800000.0, 15.11, 37.3], [1279177200000.0, 15.03, 37.21], [1279263600000.0, 14.95, 37.12], [1279350000000.0, 14.86, 37.03], [1279436400000.0, 14.76, 36.93], [1279522800000.0, 14.65, 36.82], [1279609200000.0, 14.54, 36.7], [1279695600000.0, 14.42, 36.58], [1279782000000.0, 14.3, 36.46], [1279868400000.0, 14.17, 36.23], [1279954800000.0, 14.03, 36.19], [1280041200000.0, 13.89, 36.04], [1280127600000.0, 13.74, 35.89], [1280214000000.0, 13.59, 35.73], [1280300400000.0, 13.43, 35.57], [1280386800000.0, 13.26, 35.4], [1280473200000.0, 13.09, 35.22], [1280559600000.0, 12.91, 35.04], [1280646000000.0, 12.73, 34.86], [1280732400000.0, 12.54, 34.66], [1280818800000.0, 12.34, 34.47], [1280905200000.0, 12.14, 34.26], [1280991600000.0, 11.94, 34.05], [1281078000000.0, 11.72, 33.84], [1281164400000.0, 11.51, 33.62], [1281250800000.0, 11.28, 33.39], [1281337200000.0, 11.06, 33.16], [1281423600000.0, 10.82, 32.93], [1281510000000.0, 10.58, 32.68], [1281596400000.0, 10.34, 32.44], [1281682800000.0, 10.09, 32.19], [1281769200000.0, 9.84, 31.93], [1281855600000.0, 9.58, 31.67], [1281942000000.0, 9.31, 31.4], [1282028400000.0, 9.05, 31.13], [1282114800000.0, 8.77, 30.86], [1282201200000.0, 8.5, 30.58], [1282287600000.0, 8.21, 30.29], [1282374000000.0, 7.93, 30.01], [1282460400000.0, 7.64, 29.71], [1282546800000.0, 7.34, 29.42], [1282633200000.0, 7.04, 29.12], [1282719600000.0, 6.74, 28.81], [1282806000000.0, 6.43, 28.5], [1282892400000.0, 6.12, 28.19], [1282978800000.0, 5.9, 27.87], [1283065200000.0, 5.49, 27.55], [1283151600000.0, 5.17, 27.23], [1283238000000.0, 4.84, 26.9], [1283324400000.0, 4.51, 26.57], [1283410800000.0, 4.18, 26.24], [1283497200000.0, 3.85, 17.73]]
+    [[1283324400000.0, 4.51, 26.57], [1283410800000.0, 4.18, 26.24], [1283497200000.0, 3.85, 17.73]]
     
diff --git a/bin/weewx/tests/expected/StandardTest/series.html b/bin/weewx/tests/expected/StandardTest/series.html index 18c76689..3bf2c4da 100644 --- a/bin/weewx/tests/expected/StandardTest/series.html +++ b/bin/weewx/tests/expected/StandardTest/series.html @@ -73,7 +73,7 @@

Aggregated series, using $jsonize(), and rounding of raw data: $jsonize($zip($min.start.unix_epoch_ms.raw, $min.data.degree_C.raw(2), $max.data.degree_C.raw(2)))

-    [[1262332800000.0, -28.89, -6.67], [1262419200000.0, -28.88, -6.66], [1262505600000.0, -28.87, -6.64], [1262592000000.0, -28.86, -6.62], [1262678400000.0, -28.83, -6.6], [1262764800000.0, -28.8, -6.56], [1262851200000.0, -28.77, -6.52], [1262937600000.0, -28.72, -6.48], [1263024000000.0, -28.67, -6.42], [1263110400000.0, -28.62, -6.36], [1263196800000.0, -28.55, -6.3], [1263283200000.0, -28.48, -6.22], [1263369600000.0, -28.41, -6.14], [1263456000000.0, -28.32, -6.06], [1263542400000.0, -28.24, -5.97], [1263628800000.0, -28.14, -5.87], [1263715200000.0, -28.04, -5.76], [1263801600000.0, -27.93, -5.65], [1263888000000.0, -27.82, -5.53], [1263974400000.0, -27.7, -5.41], [1264060800000.0, -27.57, -5.28], [1264147200000.0, -27.44, -5.14], [1264233600000.0, -27.3, -5.0], [1264320000000.0, -27.15, -4.85], [1264406400000.0, -27.0, -4.7], [1264492800000.0, -26.84, -4.54], [1264579200000.0, -26.59, -4.37], [1264665600000.0, -26.51, -4.2], [1264752000000.0, -26.33, -4.02], [1264838400000.0, -26.15, -3.84], [1264924800000.0, -25.97, -3.65], [1265011200000.0, -25.77, -3.45], [1265097600000.0, -25.58, -3.25], [1265184000000.0, -25.37, -3.05], [1265270400000.0, -25.16, -2.83], [1265356800000.0, -24.95, -2.62], [1265443200000.0, -24.73, -2.39], [1265529600000.0, -24.5, -2.17], [1265616000000.0, -24.27, -1.93], [1265702400000.0, -24.04, -1.69], [1265788800000.0, -23.8, -1.45], [1265875200000.0, -23.55, -1.2], [1265961600000.0, -23.3, -0.95], [1266048000000.0, -23.04, -0.69], [1266134400000.0, -22.78, -0.43], [1266220800000.0, -22.51, -0.16], [1266307200000.0, -22.24, 0.11], [1266393600000.0, -21.97, 0.39], [1266480000000.0, -21.69, 0.67], [1266566400000.0, -21.41, 0.96], [1266652800000.0, -21.12, 1.25], [1266739200000.0, -20.82, 1.55], [1266825600000.0, -20.53, 1.84], [1266912000000.0, -20.23, 2.15], [1266998400000.0, -19.92, 2.46], [1267084800000.0, -19.61, 2.77], [1267171200000.0, -19.3, 3.08], [1267257600000.0, -18.98, 3.4], [1267344000000.0, -18.66, 3.72], [1267430400000.0, -18.34, 4.05], [1267516800000.0, -18.01, 4.38], [1267603200000.0, -17.68, 4.62], [1267689600000.0, -17.35, 5.04], [1267776000000.0, -17.01, 5.38], [1267862400000.0, -16.67, 5.72], [1267948800000.0, -16.33, 6.07], [1268035200000.0, -15.98, 6.42], [1268121600000.0, -15.63, 6.77], [1268208000000.0, -15.28, 7.12], [1268294400000.0, -14.93, 7.47], [1268380800000.0, -14.57, 7.83], [1268467200000.0, -14.21, 8.19], [1268553600000.0, -13.85, 8.55], [1268636400000.0, -13.49, 8.92], [1268722800000.0, -13.12, 9.28], [1268809200000.0, -12.76, 9.65], [1268895600000.0, -12.39, 10.02], [1268982000000.0, -12.02, 10.39], [1269068400000.0, -11.64, 10.76], [1269154800000.0, -11.27, 11.14], [1269241200000.0, -10.9, 11.51], [1269327600000.0, -10.52, 11.89], [1269414000000.0, -10.14, 12.27], [1269500400000.0, -9.76, 12.65], [1269586800000.0, -9.39, 13.03], [1269673200000.0, -9.01, 13.41], [1269759600000.0, -8.62, 13.79], [1269846000000.0, -8.24, 14.17], [1269932400000.0, -7.86, 14.55], [1270018800000.0, -7.48, 14.93], [1270105200000.0, -7.1, 15.32], [1270191600000.0, -6.71, 15.7], [1270278000000.0, -6.33, 16.08], [1270364400000.0, -5.95, 16.46], [1270450800000.0, -5.57, 16.85], [1270537200000.0, -5.19, 17.23], [1270623600000.0, -4.8, 17.61], [1270710000000.0, -4.34, 17.99], [1270796400000.0, -4.04, 18.37], [1270882800000.0, -3.66, 18.75], [1270969200000.0, -3.28, 19.13], [1271055600000.0, -2.91, 19.5], [1271142000000.0, -2.53, 19.88], [1271228400000.0, -2.16, 20.25], [1271314800000.0, -1.78, 20.63], [1271401200000.0, -1.41, 21.0], [1271487600000.0, -1.04, 21.37], [1271574000000.0, -0.67, 21.74], [1271660400000.0, -0.3, 22.1], [1271746800000.0, 0.06, 22.47], [1271833200000.0, 0.43, 22.83], [1271919600000.0, 0.79, 23.19], [1272006000000.0, 1.15, 23.55], [1272092400000.0, 1.5, 23.9], [1272178800000.0, 1.86, 24.26], [1272265200000.0, 2.21, 24.61], [1272351600000.0, 2.56, 24.96], [1272438000000.0, 2.91, 25.3], [1272524400000.0, 3.25, 25.64], [1272610800000.0, 3.59, 25.98], [1272697200000.0, 3.93, 26.32], [1272783600000.0, 4.26, 26.65], [1272870000000.0, 4.6, 26.98], [1272956400000.0, 4.92, 27.31], [1273042800000.0, 5.25, 27.63], [1273129200000.0, 5.57, 27.95], [1273215600000.0, 5.89, 28.27], [1273302000000.0, 6.2, 28.58], [1273388400000.0, 6.51, 28.89], [1273474800000.0, 6.82, 29.19], [1273561200000.0, 7.12, 29.49], [1273647600000.0, 7.42, 29.79], [1273734000000.0, 7.71, 29.99], [1273820400000.0, 8.0, 30.37], [1273906800000.0, 8.29, 30.65], [1273993200000.0, 8.57, 30.93], [1274079600000.0, 8.84, 31.2], [1274166000000.0, 9.11, 31.47], [1274252400000.0, 9.38, 31.74], [1274338800000.0, 9.64, 32.0], [1274425200000.0, 9.9, 32.25], [1274511600000.0, 10.15, 32.5], [1274598000000.0, 10.4, 32.74], [1274684400000.0, 10.64, 32.98], [1274770800000.0, 10.88, 33.22], [1274857200000.0, 11.11, 33.45], [1274943600000.0, 11.34, 33.67], [1275030000000.0, 11.56, 33.89], [1275116400000.0, 11.78, 34.11], [1275202800000.0, 11.99, 34.31], [1275289200000.0, 12.19, 34.52], [1275375600000.0, 12.39, 34.71], [1275462000000.0, 12.59, 34.9], [1275548400000.0, 12.77, 35.09], [1275634800000.0, 12.96, 35.27], [1275721200000.0, 13.13, 35.44], [1275807600000.0, 13.3, 35.61], [1275894000000.0, 13.47, 35.77], [1275980400000.0, 13.63, 35.93], [1276066800000.0, 13.78, 36.08], [1276153200000.0, 13.93, 36.22], [1276239600000.0, 14.07, 36.36], [1276326000000.0, 14.2, 36.49], [1276412400000.0, 14.33, 36.62], [1276498800000.0, 14.45, 36.73], [1276585200000.0, 14.57, 36.85], [1276671600000.0, 14.68, 36.95], [1276758000000.0, 14.78, 37.05], [1276844400000.0, 14.97, 37.15], [1276930800000.0, 14.97, 37.23], [1277017200000.0, 15.05, 37.32], [1277103600000.0, 15.13, 37.39], [1277190000000.0, 15.2, 37.46], [1277276400000.0, 15.27, 37.52], [1277362800000.0, 15.33, 37.57], [1277449200000.0, 15.38, 37.62], [1277535600000.0, 15.42, 37.66], [1277622000000.0, 15.46, 37.7], [1277708400000.0, 15.49, 37.73], [1277794800000.0, 15.52, 37.75], [1277881200000.0, 15.54, 37.77], [1277967600000.0, 15.55, 37.78], [1278054000000.0, 15.56, 37.78], [1278140400000.0, 15.55, 37.77], [1278226800000.0, 15.55, 37.76], [1278313200000.0, 15.53, 37.75], [1278399600000.0, 15.51, 37.72], [1278486000000.0, 15.49, 37.69], [1278572400000.0, 15.45, 37.65], [1278658800000.0, 15.41, 37.61], [1278745200000.0, 15.36, 37.56], [1278831600000.0, 15.31, 37.5], [1278918000000.0, 15.25, 37.44], [1279004400000.0, 15.18, 37.37], [1279090800000.0, 15.11, 37.3], [1279177200000.0, 15.03, 37.21], [1279263600000.0, 14.95, 37.12], [1279350000000.0, 14.86, 37.03], [1279436400000.0, 14.76, 36.93], [1279522800000.0, 14.65, 36.82], [1279609200000.0, 14.54, 36.7], [1279695600000.0, 14.42, 36.58], [1279782000000.0, 14.3, 36.46], [1279868400000.0, 14.17, 36.23], [1279954800000.0, 14.03, 36.19], [1280041200000.0, 13.89, 36.04], [1280127600000.0, 13.74, 35.89], [1280214000000.0, 13.59, 35.73], [1280300400000.0, 13.43, 35.57], [1280386800000.0, 13.26, 35.4], [1280473200000.0, 13.09, 35.22], [1280559600000.0, 12.91, 35.04], [1280646000000.0, 12.73, 34.86], [1280732400000.0, 12.54, 34.66], [1280818800000.0, 12.34, 34.47], [1280905200000.0, 12.14, 34.26], [1280991600000.0, 11.94, 34.05], [1281078000000.0, 11.72, 33.84], [1281164400000.0, 11.51, 33.62], [1281250800000.0, 11.28, 33.39], [1281337200000.0, 11.06, 33.16], [1281423600000.0, 10.82, 32.93], [1281510000000.0, 10.58, 32.68], [1281596400000.0, 10.34, 32.44], [1281682800000.0, 10.09, 32.19], [1281769200000.0, 9.84, 31.93], [1281855600000.0, 9.58, 31.67], [1281942000000.0, 9.31, 31.4], [1282028400000.0, 9.05, 31.13], [1282114800000.0, 8.77, 30.86], [1282201200000.0, 8.5, 30.58], [1282287600000.0, 8.21, 30.29], [1282374000000.0, 7.93, 30.01], [1282460400000.0, 7.64, 29.71], [1282546800000.0, 7.34, 29.42], [1282633200000.0, 7.04, 29.12], [1282719600000.0, 6.74, 28.81], [1282806000000.0, 6.43, 28.5], [1282892400000.0, 6.12, 28.19], [1282978800000.0, 5.9, 27.87], [1283065200000.0, 5.49, 27.55], [1283151600000.0, 5.17, 27.23], [1283238000000.0, 4.84, 26.9], [1283324400000.0, 4.51, 26.57], [1283410800000.0, 4.18, 26.24], [1283497200000.0, 3.85, 17.73]]
+    [[1283324400000.0, 4.51, 26.57], [1283410800000.0, 4.18, 26.24], [1283497200000.0, 3.85, 17.73]]
     
diff --git a/bin/weewx/tests/test_skins/StandardTest/series.html.tmpl b/bin/weewx/tests/test_skins/StandardTest/series.html.tmpl index c50b10d0..5956f84b 100644 --- a/bin/weewx/tests/test_skins/StandardTest/series.html.tmpl +++ b/bin/weewx/tests/test_skins/StandardTest/series.html.tmpl @@ -59,8 +59,8 @@

Aggregated series, using \$jsonize(), and rounding of raw data: \$jsonize(\$zip(\$min.start.unix_epoch_ms.raw, \$min.data.degree_C.raw(2), \$max.data.degree_C.raw(2))) - #set $min = $year.outTemp.series(aggregation_type='min', aggregation_interval='day') - #set $max = $year.outTemp.series(aggregation_type='max', aggregation_interval='day') + #set $min = $month.outTemp.series(aggregation_type='min', aggregation_interval='day') + #set $max = $month.outTemp.series(aggregation_type='max', aggregation_interval='day')

     $jsonize($zip($min.start.unix_epoch_ms.raw, $min.data.degree_C.raw(2), $max.data.degree_C.raw(2)))