summaryrefslogtreecommitdiff
path: root/account.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-12-05 14:52:26 +0000
committerDries Buytaert <dries@buytaert.net>2000-12-05 14:52:26 +0000
commitc06b31069a7585f3e94e2c1a0d8ef7ec01ff21b6 (patch)
tree65af5e5feb5a2f91d296c6df69bec08fedf21e78 /account.php
parent4cb1885bd0c24bd27ba15d73b7f1337128a679b4 (diff)
downloadbrdo-c06b31069a7585f3e94e2c1a0d8ef7ec01ff21b6.tar.gz
brdo-c06b31069a7585f3e94e2c1a0d8ef7ec01ff21b6.tar.bz2
- 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.
Diffstat (limited to 'account.php')
-rw-r--r--account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/account.php b/account.php
index f08e51072..2e4ed875a 100644
--- a/account.php
+++ b/account.php
@@ -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";
}