diff --git a/modules/stic_Custom_Views/processor/LogicHooksCode.php b/modules/stic_Custom_Views/processor/LogicHooksCode.php index e54baf8f3e3..04eaf014e6d 100644 --- a/modules/stic_Custom_Views/processor/LogicHooksCode.php +++ b/modules/stic_Custom_Views/processor/LogicHooksCode.php @@ -254,7 +254,7 @@ private function value_to_display($value, $value_type) case "date": case "datetime": case "datetimecombo": - return $timedate->to_display_date_time($value, true, false, $current_user); + return $timedate->asUser($timedate->fromDbFormat($value, TimeDate::DB_DATETIME_FORMAT), $current_user); } return $value; }