mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 04:26:22 +05:30
Update config.html.php
Add the common date format in German speaking countries: dd.mm.yyyy
This commit is contained in:
parent
8b60daff85
commit
50ab090a09
1 changed files with 7 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue