diff options
author | Friendika <info@friendika.com> | 2011-01-17 02:51:26 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-17 02:51:26 -0800 |
commit | 46c4bb6d4c885d232b255bb60066e3aaa4dfe8f4 (patch) | |
tree | ca644b3c4a85cbf371ba6b20776210d39203844c | |
parent | d5ac7e938bf5a8737a2afdcf69f095b13bb7e5af (diff) | |
download | volse-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> ' |