Skip to content

Commit

Permalink
Fix Ticket Timer to allow for 00 for hour
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyq committed Nov 14, 2023
1 parent 63a4eab commit 2018607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-fw fa-clock"></i></span>
</div>
<input type="text" class="form-control" inputmode="numeric" id="hours" name="hours" placeholder="Hrs" min="0" max="23" pattern="[0-9]|1[0-9]|2[0-3]">
<input type="text" class="form-control" inputmode="numeric" id="hours" name="hours" placeholder="Hrs" min="0" max="23" pattern="0?[0-9]|1[0-9]|2[0-3]">
<div class="input-group-append">
<span class="input-group-text">H</span>
</div>
Expand Down

0 comments on commit 2018607

Please sign in to comment.