kopia lustrzana https://github.com/magicbug/Cloudlog
Catch date when it rolls to next day
rodzic
2cdb45d501
commit
6d491fd027
|
@ -168,6 +168,14 @@ $(document).ready(function(){
|
|||
}
|
||||
$('.input_time').jclock(options);
|
||||
});
|
||||
|
||||
$(function($) {
|
||||
var options = {
|
||||
utc: true,
|
||||
format: '%d-%m-%Y'
|
||||
}
|
||||
$('.input_date').jclock(options);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue