From 25954314ec156059848352dd0e4eb896eb28be5c Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 26 Jan 2018 19:18:06 -0500 Subject: [PATCH] Add missing Temporal::utc() --- include/bb2diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index 52031aa72a..5808e64ed4 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -246,7 +246,7 @@ function format_event_diaspora($ev) { // @todo What. Is. Going. On. With. This. Useless. Ternary. Operator? - mrpetovan $o .= L10n::t('Starts:') . ' ' . '[' . (($ev['adjust']) ? day_translate(Temporal::utc($ev['start'], $bd_format)) - : day_translate(Temporal::convert($ev['start'], $bd_format)) + : day_translate(Temporal::utc($ev['start'], $bd_format)) ) . '](' . System::baseUrl() . '/localtime/?f=&time=' . urlencode(Temporal::utc($ev['start'])) . ")\n"; -- 2.39.5