Added seconds to import function in logbook model

pull/840/head
Andreas 2021-01-18 12:19:57 +01:00
rodzic 31e2107c98
commit 55591ca4c9
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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;
}