回答編集履歴
3
non
test
CHANGED
@@ -37,3 +37,4 @@
|
|
37
37
|
return total;
|
38
38
|
}
|
39
39
|
```
|
40
|
+
AIは一切つかってません。
|
2
fix
test
CHANGED
@@ -9,7 +9,9 @@
|
|
9
9
|
for (var i = 0; i < dataValues.length; i++) {
|
10
10
|
var row = dataValues[i];
|
11
11
|
var date = row[0];
|
12
|
+
if (date === '' ||
|
12
|
-
|
13
|
+
Object.prototype.toString.call(date) !== '[object Date]')
|
14
|
+
continue;
|
13
15
|
var dateindex = Utilities.formatDate(date, "Asia/Tokyo", "yyMMdd");
|
14
16
|
if (subtotal[dateindex] == null) subtotal[dateindex] = 0;
|
15
17
|
var number = row[numberColumn.charCodeAt(0) - dateColumn.charCodeAt(0)];
|
1
syuusei
test
CHANGED
@@ -21,8 +21,9 @@
|
|
21
21
|
}
|
22
22
|
|
23
23
|
var total = 0;
|
24
|
-
|
24
|
+
|
25
25
|
for (var dateindex of Object.keys(subtotal)) {
|
26
|
+
var rest = 0;
|
26
27
|
var perday = subtotal[dateindex];
|
27
28
|
if (perday >= 9) {
|
28
29
|
rest = 1;
|