projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added local time output
[e-DoKo.git]
/
functions.php
diff --git
a/functions.php
b/functions.php
index 49e0a1d21aade548bee7f718417e840bcfc50880..ce4851309f0da48a13e44446109dbd6c96d96799 100644
(file)
--- 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