Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Little Charset bug in User Feed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanomani committed Jan 22, 2015
1 parent bb13433 commit d5c382a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -196,7 +196,7 @@ public function loadUserFeed($actionName, $httpVars, $fileVars)
}
$node->event_description = ucfirst($notif->getDescriptionBlock()) . " ".$mess["notification.tpl.block.user_link"] ." ". $notif->getAuthorLabel();
$node->event_description_long = $notif->getDescriptionLong(true);
$node->event_date = AJXP_Utils::relativeDate($notif->getDate(), $mess);
$node->event_date = SystemTextEncoding::fromUTF8(AJXP_Utils::relativeDate($notif->getDate(), $mess));
$node->short_date = AJXP_Utils::relativeDate($notif->getDate(), $mess, true);
$node->event_time = $notif->getDate();
$node->event_type = "notification";
Expand Down Expand Up @@ -338,7 +338,7 @@ public function loadUserAlerts($actionName, $httpVars, $fileVars)
$node->event_is_alert = true;
$node->event_description = ucfirst($notification->getDescriptionBlock()) . " ".$mess["notification.tpl.block.user_link"] ." ". $notification->getAuthorLabel();
$node->event_description_long = $notification->getDescriptionLong(true);
$node->event_date = AJXP_Utils::relativeDate($notification->getDate(), $mess);
$node->event_date = SystemTextEncoding::fromUTF8(AJXP_Utils::relativeDate($notification->getDate(), $mess));
$node->event_type = "alert";
$node->alert_id = $notification->alert_id;
if ($node->getRepository() != null) {
Expand Down

0 comments on commit d5c382a

Please sign in to comment.