回答編集履歴
6
6
answer
CHANGED
@@ -11,9 +11,8 @@
|
|
11
11
|
}
|
12
12
|
$_ci = $this->_conv_info(get_type($value), $value['_info']);
|
13
13
|
if (!empty($_ci)) {
|
14
|
-
$_conv_date = get_conv_date($value);
|
15
|
-
if (!empty($
|
14
|
+
if (!empty($value['_time'])) {
|
16
|
-
$_ci['date'] = $
|
15
|
+
$_ci['date'] = get_conv_date($value['_time']);
|
17
16
|
}
|
18
17
|
$_list_data[$i] = $_ci;
|
19
18
|
$_desc[$i] = $_history_data[$key]['_seq'];
|
@@ -25,12 +24,7 @@
|
|
25
24
|
$t = $value['_type'];
|
26
25
|
return (!empty($t)) ? $t : null;
|
27
26
|
}
|
28
|
-
function get_conv_date($
|
27
|
+
function get_conv_date($t) {
|
29
|
-
$ret = null;
|
30
|
-
$t = $value['_time'];
|
31
|
-
if (!empty($t)) {
|
32
|
-
|
28
|
+
return str_replace('-', '/', substr($t, 0, 10)) . $this->_format_week(substr($t, 0, 10)) . substr($t, 10, 6);
|
33
|
-
}
|
34
|
-
return $ret;
|
35
29
|
}
|
36
30
|
```
|
5
5
answer
CHANGED
@@ -9,8 +9,7 @@
|
|
9
9
|
if (empty($value['_info'])) {
|
10
10
|
continue;
|
11
11
|
}
|
12
|
-
$_type = get_type($value);
|
13
|
-
$_ci = $this->_conv_info($
|
12
|
+
$_ci = $this->_conv_info(get_type($value), $value['_info']);
|
14
13
|
if (!empty($_ci)) {
|
15
14
|
$_conv_date = get_conv_date($value);
|
16
15
|
if (!empty($_conv_date)) {
|
4
4
answer
CHANGED
@@ -10,9 +10,9 @@
|
|
10
10
|
continue;
|
11
11
|
}
|
12
12
|
$_type = get_type($value);
|
13
|
-
$_conv_date = get_conv_date($value);
|
14
13
|
$_ci = $this->_conv_info($_type, $value['_info']);
|
15
14
|
if (!empty($_ci)) {
|
15
|
+
$_conv_date = get_conv_date($value);
|
16
16
|
if (!empty($_conv_date)) {
|
17
17
|
$_ci['date'] = $_conv_date;
|
18
18
|
}
|
3
3
answer
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
}
|
19
19
|
$_list_data[$i] = $_ci;
|
20
20
|
$_desc[$i] = $_history_data[$key]['_seq'];
|
21
|
-
i++;
|
21
|
+
$i++;
|
22
22
|
}
|
23
23
|
}
|
24
24
|
|
2
2
answer
CHANGED
@@ -6,6 +6,9 @@
|
|
6
6
|
$_desc = array();
|
7
7
|
$i = 0;
|
8
8
|
foreach ($_history_data as $key => $value) {
|
9
|
+
if (empty($value['_info'])) {
|
10
|
+
continue;
|
11
|
+
}
|
9
12
|
$_type = get_type($value);
|
10
13
|
$_conv_date = get_conv_date($value);
|
11
14
|
$_ci = $this->_conv_info($_type, $value['_info']);
|
1
1
answer
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
$_ci['date'] = $_conv_date;
|
15
15
|
}
|
16
16
|
$_list_data[$i] = $_ci;
|
17
|
-
$_desc[$i] = $_history_data[$key]['_seq'];
|
17
|
+
$_desc[$i] = $_history_data[$key]['_seq'];
|
18
18
|
i++;
|
19
19
|
}
|
20
20
|
}
|