Catch date when it rolls to next day

pull/284/head
Peter Goodhall 2019-05-25 22:17:35 +01:00
rodzic 2cdb45d501
commit 6d491fd027
2 zmienionych plików z 11 dodań i 1 usunięć

Wyświetl plik

@ -168,6 +168,14 @@ $(document).ready(function(){
}
$('.input_time').jclock(options);
});
$(function($) {
var options = {
utc: true,
format: '%d-%m-%Y'
}
$('.input_date').jclock(options);
});
}
});

Wyświetl plik

@ -52,7 +52,7 @@
<div class="form-row">
<div class="form-group col-md-6">
<label for="start_date">Date</label>
<input type="text" class="form-control form-control-sm" name="start_date" id="start_date" value="<?php echo date('d-m-Y'); ?>" <?php echo ($_GET['manual'] == 0 ? "disabled" : ""); ?> >
<input type="text" class="form-control form-control-sm input_date" name="start_date" id="start_date" value="<?php echo date('d-m-Y'); ?>" <?php echo ($_GET['manual'] == 0 ? "disabled" : ""); ?> >
</div>
<div class="form-group col-md-6">
@ -66,6 +66,8 @@
<?php } ?>
</div>
<!-- Callsign Input -->
<div class="form-group">
<label for="callsign">Callsign</label>