diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-02-25 23:03:38 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-02-25 23:03:38 +0100 |
commit | ea54987ca4c36623bbbb4923cf1e19e9650431ed (patch) | |
tree | ef95e3a9a52a054425389d2002e84d49b7efe308 | |
parent | b2474334a7b7f009442883a08d544280231b29fc (diff) | |
download | volse-hubzilla-ea54987ca4c36623bbbb4923cf1e19e9650431ed.tar.gz volse-hubzilla-ea54987ca4c36623bbbb4923cf1e19e9650431ed.tar.bz2 volse-hubzilla-ea54987ca4c36623bbbb4923cf1e19e9650431ed.zip |
in update_birthdays() we should probably set adjust to 0 instead of 1 since a birthday is more a kind of a global holiday
-rw-r--r-- | include/datetime.php | 2 |
1 files changed, 1 insertions, 1 deletions
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]') ; |