diff options
author | Daimona Eaytoy <daimona.wiki@gmail.com> | 2022-06-03 18:21:38 +0200 |
---|---|---|
committer | Daimona Eaytoy <daimona.wiki@gmail.com> | 2022-09-23 18:35:51 +0200 |
commit | ec09c19fba2936255b281653bfb663ade00f43ea (patch) | |
tree | 28b8226a24b17f95c8d3e38bfc7f34353cb5b78c /tests/phpunit/includes/htmlform/HTMLFormFieldTest.php | |
parent | 090599c048b7827b138afb7851cfcd26d3c8bd2b (diff) | |
download | mediawikicore-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