Merge pull request #840 from AndreasK79/adif_import_seconds_added
Added seconds to import function in logbook model
这个提交包含在:
当前提交
dde01feb38
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -1475,10 +1475,10 @@ class Logbook_model extends CI_Model {
|
|||
$my_error = "";
|
||||
|
||||
// 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'])) {
|
||||
$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 {
|
||||
$time_off = $time_on;
|
||||
}
|
||||
|
|
|
|||
正在加载…
在新工单中引用