kopia lustrzana https://github.com/magicbug/Cloudlog
Added seconds to import function in logbook model
rodzic
31e2107c98
commit
55591ca4c9
|
@ -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;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue