diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/functions.php b/functions.php index 49e0a1d..ce48513 100644 --- a/functions.php +++ b/functions.php @@ -431,4 +431,18 @@ function display_cards($me,$myturn) return; } +function return_timezone($offset) +{ + switch($offset) + { + case '1': + $zone = "Europe/Berlin"; + break; + default: + $zone = "Europe/London"; + } + + return $zone; +} + ?>
\ No newline at end of file |