mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:38:53 +00:00
[ticket/16222] Fix timezone suggestion for 00:00
PHPBB3-16222
This commit is contained in:
parent
0788754a5f
commit
c6412a186c
1 changed files with 4 additions and 1 deletions
|
@ -853,7 +853,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();
|
||||
|
|
Loading…
Add table
Reference in a new issue