aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-17 02:51:26 -0800
committerFriendika <info@friendika.com>2011-01-17 02:51:26 -0800
commit46c4bb6d4c885d232b255bb60066e3aaa4dfe8f4 (patch)
treeca644b3c4a85cbf371ba6b20776210d39203844c
parentd5ac7e938bf5a8737a2afdcf69f095b13bb7e5af (diff)
downloadvolse-hubzilla-46c4bb6d4c885d232b255bb60066e3aaa4dfe8f4.tar.gz
volse-hubzilla-46c4bb6d4c885d232b255bb60066e3aaa4dfe8f4.tar.bz2
volse-hubzilla-46c4bb6d4c885d232b255bb60066e3aaa4dfe8f4.zip
ensure birthday "today" calculation is relative to UTC.
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index ac577887c..d8549d5c0 100644
--- a/boot.php
+++ b/boot.php
@@ -2163,7 +2163,7 @@ function get_birthdays() {
foreach($r as $rr) {
$now = strtotime('now');
- $today = (((strtotime($rr['start']) < $now) && (strtotime($rr['finish']) > $now)) ? true : false);
+ $today = (((strtotime($rr['start'] . ' +00:00') < $now) && (strtotime($rr['finish'] . ' +00:00') > $now)) ? true : false);
$o .= '<div class="birthday-list" id="birthday-' . $rr['eid'] . '"><a class="sparkle" href="'
. $a->get_baseurl() . '/redir/' . $rr['cid'] . '">' . $rr['name'] . '</a> '