summaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2007-12-16 14:54:06 +0100
committerArun Persaud <arun@nubati.net>2007-12-16 22:33:43 +0100
commita28cbfa660f2ff982f1cdcee41c09cec772d84af (patch)
treee2c70082d93a44b373b6d57899590ac01dcc0d5c /register.php
parent672791e22e1de68e278e2f0d5c6d7331d5994ecb (diff)
downloade-DoKo-a28cbfa660f2ff982f1cdcee41c09cec772d84af.tar.gz
e-DoKo-a28cbfa660f2ff982f1cdcee41c09cec772d84af.tar.bz2
e-DoKo-a28cbfa660f2ff982f1cdcee41c09cec772d84af.zip
BUGFIX: time display used wrong timezones. also optimized things a bit
Got rid of a few db-queries for getting the right timezone. The timezone was also set after the timefunction was called and therefore the timezone didn't have any effect.
Diffstat (limited to 'register.php')
-rw-r--r--register.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/register.php b/register.php
index 827e77e..7c3a373 100644
--- a/register.php
+++ b/register.php
@@ -71,9 +71,10 @@ if(myisset("Rfullname","Remail","Rpassword","Rtimezone") )
<td><label for="Rtimezone">Timezone:</label></td>
<td>
<select id="Rtimezone" name="Rtimezone" size="1">
- <option value="1">Berlin</option>
- <option value="-8">Berkeley</option>
- <option value="13">Wellington</option>
+ <option value="Europe/London">Berlin</option>
+ <option value="Europe/Berlin">Berlin</option>
+ <option value="America/Vancouver">Berkeley</option>
+ <option value="Pacific/Auckland">Wellington</option>
</select>
(If your timezone is not listed, just select whatever you want and email the admin your correct time zone.)
</td>