Added timezone setting in back-end.

This commit is contained in:
alext 2018-03-06 22:50:31 +01:00
parent 917d7fa6bb
commit 7bcca1b5db
2 changed files with 5 additions and 2 deletions

View file

@ -75,6 +75,9 @@ define('DATE_FORMAT_DMY', 'DMY');
define('DATE_FORMAT_MDY', 'MDY'); define('DATE_FORMAT_MDY', 'MDY');
define('DATE_FORMAT_YMD', 'YMD'); define('DATE_FORMAT_YMD', 'YMD');
define('TIME_FORMAT_REGULAR', 'regular');
define('TIME_FORMAT_MILITARY', 'military');
define('MIN_PASSWORD_LENGTH', 7); define('MIN_PASSWORD_LENGTH', 7);
define('ANY_PROVIDER', 'any-provider'); define('ANY_PROVIDER', 'any-provider');

View file

@ -123,8 +123,8 @@
<?= lang('time_format') ?> <?= lang('time_format') ?>
</label> </label>
<select class="form-control" id="time-format" data-field="time_format"> <select class="form-control" id="time-format" data-field="time_format">
<option value="h:mm tt">4:30 PM</option> <option value="<?= TIME_FORMAT_REGULAR ?>">H:MM AM/PM</option>
<option value="HH:mm">16:30</option> <option value="<?= TIME_FORMAT_MILITARY ?>">HH:MM</option>
</select> </select>
<span class="help-block"> <span class="help-block">
<?= lang('time_format_hint') ?> <?= lang('time_format_hint') ?>