Commit c06b3106 authored by Dries's avatar Dries
Browse files

- fixed bug in the timezone functionality:
  an Australian user reported that he lived in GMT +13 - after verifying
  this rumor GTM +13 happens to exists so here goes.
parent 4cb1885b
......@@ -157,7 +157,7 @@ function account_page_edit() {
$output .= "<B>Timezone:</B><BR>\n";
$date = time() - date("Z");
for ($zone = -43200; $zone <= 43200; $zone += 3600) {
for ($zone = -43200; $zone <= 46800; $zone += 3600) {
$options2 .= " <OPTION VALUE=\"$zone\"". (($user->timezone == $zone) ? " SELECTED" : "") .">". date("l, F dS, Y - h:i A", $date + $zone) ." (GMT ". $zone / 3600 .")</OPTION>\n";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment