mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
b42ee7d52e
1 changed files with 4 additions and 1 deletions
|
@ -944,7 +944,10 @@ phpbb.timezonePreselectSelect = function(forceSelector) {
|
||||||
var minutes = offset % 60;
|
var minutes = offset % 60;
|
||||||
var hours = (offset - minutes) / 60;
|
var hours = (offset - minutes) / 60;
|
||||||
|
|
||||||
if (hours < 10) {
|
if (hours === 0) {
|
||||||
|
hours = '00';
|
||||||
|
sign = '+';
|
||||||
|
} else if (hours < 10) {
|
||||||
hours = '0' + hours.toString();
|
hours = '0' + hours.toString();
|
||||||
} else {
|
} else {
|
||||||
hours = hours.toString();
|
hours = hours.toString();
|
||||||
|
|
Loading…
Add table
Reference in a new issue