Also handle logging of start time only

这个提交包含在:
phl0 2023-11-04 15:31:44 +01:00
父节点 be7632ef58
当前提交 26a1f8531f
找不到此签名对应的密钥
GPG 密钥 ID: 48EA1E640798CA9A

查看文件

@ -92,6 +92,9 @@
<div class="form-group col-md-6">
<label for="start_time"><?php echo lang('general_word_time'); ?></label>
<?php if ($_GET['manual'] == 1) { ?>
<i id="reset_start_time" data-toggle="tooltip" data-original-title="Reset start time" class="fas fa-stopwatch"></i>
<?php } ?>
<input type="text" class="form-control form-control-sm input_start_time" name="start_time" id="start_time" value="<?php if (($this->session->userdata('start_time') != NULL && ((time() - $this->session->userdata('time_stamp')) < 24 * 60 * 60))) { echo substr($this->session->userdata('start_time'),0,5); } else { echo $_GET['manual'] == 0 ? date('H:i:s') : date('H:i'); } ?>" size="7" <?php echo ($_GET['manual'] == 0 ? "disabled" : ""); ?> required pattern="[0-2][0-9]:[0-5][0-9]">
</div>