1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-25 18:13:28 +01:00

Merge branch '3.3.x'

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

View File

@ -944,7 +944,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();