Skip to content
Snippets Groups Projects
Commit f7e19d6a authored by Jared Hancock's avatar Jared Hancock
Browse files

Merge pull request #1103 from greezybacon/issue/1060

i18n: Fix timezone adjustment for time display

Reviewed-By: @keawade
Reviewed-By: @urda
parents b7467355 82f5fbde
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ class Misc {
$sel=($hr==$i && $min==$minute)?'selected="selected"':'';
$_minute=str_pad($minute, 2, '0',STR_PAD_LEFT);
$_hour=str_pad($i, 2, '0',STR_PAD_LEFT);
$disp = date($cfg->getTimeFormat(), $i*3600 + $minute*60);
$disp = gmdate($cfg->getTimeFormat(), $i*3600 + $minute*60);
echo sprintf('<option value="%s:%s" %s>%s</option>',$_hour,$_minute,$sel,$disp);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment