diaspora has no timezone - use UTC for events
This commit is contained in:
parent
59a6a04e26
commit
c0a2cc3e98
|
@ -201,7 +201,7 @@ function format_event_diaspora($ev) {
|
||||||
$o .= '**' . bb2diaspora($ev['desc']) . '**' . "\n";
|
$o .= '**' . bb2diaspora($ev['desc']) . '**' . "\n";
|
||||||
|
|
||||||
$o .= t('Starts:') . ' '
|
$o .= t('Starts:') . ' '
|
||||||
. (($ev['adjust']) ? day_translate(datetime_convert('UTC', date_default_timezone_get(),
|
. (($ev['adjust']) ? day_translate(datetime_convert('UTC', 'UTC',
|
||||||
$ev['start'] , $bd_format ))
|
$ev['start'] , $bd_format ))
|
||||||
: day_translate(datetime_convert('UTC', 'UTC',
|
: day_translate(datetime_convert('UTC', 'UTC',
|
||||||
$ev['start'] , $bd_format)))
|
$ev['start'] , $bd_format)))
|
||||||
|
@ -209,7 +209,7 @@ function format_event_diaspora($ev) {
|
||||||
|
|
||||||
if(! $ev['nofinish'])
|
if(! $ev['nofinish'])
|
||||||
$o .= t('Finishes:') . ' '
|
$o .= t('Finishes:') . ' '
|
||||||
. (($ev['adjust']) ? day_translate(datetime_convert('UTC', date_default_timezone_get(),
|
. (($ev['adjust']) ? day_translate(datetime_convert('UTC', 'UTC',
|
||||||
$ev['finish'] , $bd_format ))
|
$ev['finish'] , $bd_format ))
|
||||||
: day_translate(datetime_convert('UTC', 'UTC',
|
: day_translate(datetime_convert('UTC', 'UTC',
|
||||||
$ev['finish'] , $bd_format )))
|
$ev['finish'] , $bd_format )))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user