Added seconds to import function in logbook model
这个提交包含在:
父节点
31e2107c98
当前提交
55591ca4c9
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -1475,10 +1475,10 @@ class Logbook_model extends CI_Model {
|
||||||
$my_error = "";
|
$my_error = "";
|
||||||
|
|
||||||
// Join date+time
|
// Join date+time
|
||||||
$time_on = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i', strtotime($record['time_on']));
|
$time_on = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i:s', strtotime($record['time_on']));
|
||||||
|
|
||||||
if (isset($record['time_off'])) {
|
if (isset($record['time_off'])) {
|
||||||
$time_off = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i', strtotime($record['time_off']));
|
$time_off = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i:s', strtotime($record['time_off']));
|
||||||
} else {
|
} else {
|
||||||
$time_off = $time_on;
|
$time_off = $time_on;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用