From ea54987ca4c36623bbbb4923cf1e19e9650431ed Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 25 Feb 2016 23:03:38 +0100 Subject: in update_birthdays() we should probably set adjust to 0 instead of 1 since a birthday is more a kind of a global holiday --- include/datetime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/datetime.php') diff --git a/include/datetime.php b/include/datetime.php index bfd806f32..2f2727ae5 100644 --- a/include/datetime.php +++ b/include/datetime.php @@ -549,7 +549,7 @@ function update_birthdays() { $ev['event_xchan'] = $rr['xchan_hash']; $ev['start'] = datetime_convert('UTC', 'UTC', $rr['abook_dob']); $ev['finish'] = datetime_convert('UTC', 'UTC', $rr['abook_dob'] . ' + 1 day '); - $ev['adjust'] = 1; + $ev['adjust'] = 0; $ev['summary'] = sprintf( t('%1$s\'s birthday'), $rr['xchan_name']); $ev['description'] = sprintf( t('Happy Birthday %1$s'), '[zrl=' . $rr['xchan_url'] . ']' . $rr['xchan_name'] . '[/zrl]') ; -- cgit v1.2.3