Browse Source

Merge pull request #655 from bttrx/patch-1

Fixes duplicate date.format IDs by @bttrx
pull/659/head
Dan 2 years ago
committed by GitHub
parent
commit
9ebec9408a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      system/admin/views/config.html.php

+ 4
- 4
system/admin/views/config.html.php View File

@ -108,14 +108,14 @@ Please install and enable the INTL extension to format the date format to your l
</label> </label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input class="form-check-input" type="radio" name="-config-date.format" id="date.format6" value="Y-m-d" <?php if (config('date.format') === 'Y-m-d'):?>checked<?php endif;?>>
<label class="form-check-label" for="date.format6">
<input class="form-check-input" type="radio" name="-config-date.format" id="date.format7" value="Y-m-d" <?php if (config('date.format') === 'Y-m-d'):?>checked<?php endif;?>>
<label class="form-check-label" for="date.format7">
<?php echo format_date(strtotime($date), 'Y-m-d'); ?> <?php echo format_date(strtotime($date), 'Y-m-d'); ?>
</label> </label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input class="form-check-input" type="radio" name="-config-date.format" id="date.format6" value="d.m.Y" <?php if (config('date.format') === 'd.m.Y'):?>checked<?php endif;?>>
<label class="form-check-label" for="date.format6">
<input class="form-check-input" type="radio" name="-config-date.format" id="date.format8" value="d.m.Y" <?php if (config('date.format') === 'd.m.Y'):?>checked<?php endif;?>>
<label class="form-check-label" for="date.format8">
<?php echo format_date(strtotime($date), 'd.m.Y'); ?> <?php echo format_date(strtotime($date), 'd.m.Y'); ?>
</label> </label>
</div> </div>


Loading…
Cancel
Save