Browse Source

Update config.html.php

Add the common date format in German speaking countries: dd.mm.yyyy
pull/650/head
sb0001 2 years ago
committed by GitHub
parent
commit
50ab090a09
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      system/admin/views/config.html.php

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

@ -113,7 +113,12 @@ Please install and enable the INTL extension to format the date format to your l
<?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">
<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">
<?php echo format_date(strtotime($date), 'd.m.Y'); ?>
</label>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -139,4 +144,4 @@ Please install and enable the INTL extension to format the date format to your l
<button type="submit" class="btn btn-primary"><?php echo i18n('Save_Config');?></button> <button type="submit" class="btn btn-primary"><?php echo i18n('Save_Config');?></button>
</div> </div>
</div> </div>
</form>
</form>

Loading…
Cancel
Save