Skip to content
Permalink
Browse files

Catch date when it rolls to next day

  • Loading branch information...
magicbug committed May 25, 2019
1 parent 2cdb45d commit 6d491fd0277b7e8d2ec7e5b4ffca42912e076c27
Showing with 11 additions and 1 deletion.
  1. +8 −0 application/views/interface_assets/footer.php
  2. +3 −1 application/views/qso/index.php
@@ -168,6 +168,14 @@
}
$('.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>

0 comments on commit 6d491fd

Please sign in to comment.
You can’t perform that action at this time.