mirror of
https://github.com/friendica/friendica
synced 2024-12-23 06:00:15 +00:00
ensure birthday "today" calculation is relative to UTC.
This commit is contained in:
parent
d5ac7e938b
commit
46c4bb6d4c
1 changed files with 1 additions and 1 deletions
2
boot.php
2
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> '
|
||||
|
|
Loading…
Reference in a new issue