From 46c4bb6d4c885d232b255bb60066e3aaa4dfe8f4 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 17 Jan 2011 02:51:26 -0800 Subject: [PATCH] ensure birthday "today" calculation is relative to UTC. --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.php b/boot.php index ac577887ca..d8549d5c0a 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 .= '
' . $rr['name'] . ' '