aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/htmlform/HTMLFormFieldTest.php
diff options
context:
space:
mode:
authorDaimona Eaytoy <daimona.wiki@gmail.com>2022-06-03 18:21:38 +0200
committerDaimona Eaytoy <daimona.wiki@gmail.com>2022-09-23 18:35:51 +0200
commitec09c19fba2936255b281653bfb663ade00f43ea (patch)
tree28b8226a24b17f95c8d3e38bfc7f34353cb5b78c /tests/phpunit/includes/htmlform/HTMLFormFieldTest.php
parent090599c048b7827b138afb7851cfcd26d3c8bd2b (diff)
downloadmediawikicore-ec09c19fba2936255b281653bfb663ade00f43ea.tar.gz
mediawikicore-ec09c19fba2936255b281653bfb663ade00f43ea.zip
Create an HTMLForm field for selecting a timezone
This patch introduces HTMLTimezoneField, an HTMLForm field type that allows the user to select a timezone, either from a geographic zone, by manually entering an offset, or using the wiki/browser default. This logic is extracted from DefaultPreferencesFactory so that it can be reused elsewhere. The widget itself is really just an HTMLSelectOrOtherField, it's just the list of options and the JS logic that is special. Bug: T309629 Change-Id: I99a00dff7e3319ce45883191daee16bec1ed68ba
Diffstat (limited to 'tests/phpunit/includes/htmlform/HTMLFormFieldTest.php')
0 files changed, 0 insertions, 0 deletions