stable
Clone or download
Read-only
request #21345: Remove embedded jstimezonedetect library
The library is no more maintained upstream (in fact upstream does not exist anymore) and the same thing can be achieved with native APIs now. Account_TimezonesCollection has been updated to use the timezone known by PHP to make sure we are always up to date with the upstream IANA timezone database so we have a better chance to select the correct timezone client side. Change-Id: Idd23c5daf91aebd51fc18939a85fd23570ec1f58
Modified Files
Name | ||||
---|---|---|---|---|
M | .eslintignore | +0 | −1 | Go to diff View file |
M | plugins/ldap/include/WelcomeDisplayController.php | +0 | −1 | Go to diff View file |
M | src/common/account/TimezoneSelectorPresenter.class.php | +1 | −1 | Go to diff View file |
M | src/common/account/TimezonesCollection.class.php | +9 | −467 | Go to diff View file |
M | src/jest.config.js | +0 | −1 | Go to diff View file |
M | src/scripts/account/timezone.ts | +12 | −6 | Go to diff View file |
M | src/www/account/register.php | +0 | −1 | Go to diff View file |
D | src/www/scripts/jstimezonedetect/LICENCE.txt | +0 | −22 | Go to diff View file |
D | src/www/scripts/jstimezonedetect/jstz.min.js | +0 | −2 | Go to diff View file |
M | src/www/scripts/tuleap/timezone.js | +11 | −10 | Go to diff View file |
M | tests/unit/common/User/Account/UpdateAccountInformationControllerTest.php | +2 | −2 | Go to diff View file |