Enh: Added UTC only timezone in server timezone dropdown

This commit is contained in:
Lucas Bartholemy 2018-06-20 12:14:47 +02:00
parent 4f20732e3c
commit 9230378737
2 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@ HumHub Change Log
- Fix #3148: Upload space picture dose not use file size setting in HumHub (acs-ferreira)
- Fix: Incorrect last visit date shown in space admin pending members view (acs-ferreira)
- Enh: Allow enable/disable modules by CLI
- Enh: Added UTC only timezone in server timezone dropdown
1.2.7 (May 23, 2018)

View File

@ -25,7 +25,7 @@ use humhub\compat\CHtml;
<?= $languageDropDown = $form->field($model, 'defaultLanguage')->dropDownList($allowedLanguages, ['data-ui-select2' => '']); ?>
<?php endif; ?>
<?= $form->field($model, 'timeZone')->dropDownList(TimezoneHelper::generateList(), ['data-ui-select2' => '']); ?>
<?= $form->field($model, 'timeZone')->dropDownList(TimezoneHelper::generateList(true), ['data-ui-select2' => '']); ?>
<?= humhub\modules\space\widgets\SpacePickerField::widget([
'form' => $form,
@ -58,4 +58,4 @@ use humhub\compat\CHtml;
<?php \humhub\widgets\DataSaved::widget(); ?>
<?php ActiveForm::end(); ?>
</div>
</div>