Merge branch '3.2.x' into 3.3.x

This commit is contained in:
Marc Alexander 2020-03-21 17:17:25 +01:00
commit 8c6ef3f0fd
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -948,7 +948,10 @@ phpbb.timezonePreselectSelect = function(forceSelector) {
var minutes = offset % 60;
var hours = (offset - minutes) / 60;
if (hours < 10) {
if (hours === 0) {
hours = '00';
sign = '+';
} else if (hours < 10) {
hours = '0' + hours.toString();
} else {
hours = hours.toString();