3
It is a bug:
In register.php the value from the form
<option value="5.5" selected="selected">(GMT+5:30) Mumbai, Kolkata, Chennai, New Delhioption>
is rounded through an intval function:
$timezone_offset = isset($_POST['timezone_offset']) ? intval($_POST['timezone_offset']) : $xoopsConfig['default_TZ'];
Solution could be to make the option values multiplied by 10 (eg 55 for Mumbai)and divide after the validation with 10 to have the correct offset.
$timezone_offset = isset($_POST['timezone_offset']) ? intval($_POST['timezone_offset'])/10 : $xoopsConfig['default_TZ'];