aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-02-25 23:03:38 +0100
committerMario Vavti <mario@mariovavti.com>2016-02-25 23:03:38 +0100
commitea54987ca4c36623bbbb4923cf1e19e9650431ed (patch)
treeef95e3a9a52a054425389d2002e84d49b7efe308 /include
parentb2474334a7b7f009442883a08d544280231b29fc (diff)
downloadvolse-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
Diffstat (limited to 'include')
-rw-r--r--include/datetime.php2
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]') ;