UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

[continued] Get Post's Date URL

David Montoya · ·
2:14 AM Monday, 16 May 2016
High
Original Post

I'm getting a weird result. Instead of the post's date, I'm getting what appears to be today's date. Here's my snippet:

$postDate = EB::date($post->getAsset('created_at')->getValue(), true);
echo
EBR::_('index.php?option=com_easyblog&view=calendar&'.
'year='.$postDate->format('Y').'&'.
'month='.$postDate->format('m').'&'.
'day='. $postDate->format('d')).' "
data-original-title="'.
JText::_('COM_EASYBLOG_POST_DATE').' '.
$postDate->format(JText::_('COM_EASYBLOG_POST_DATE_FORMAT_MONTH')).' '.
$postDate->format(JText::_('COM_EASYBLOG_POST_DATE_FORMAT_DAY')).' '.
$postDate->format(JText::_('COM_EASYBLOG_POST_DATE_YEAR')).' "
data-placement="right" data-eb-provide="tooltip">';


//Language Keys
; EasyBlog Custom Strings
COM_EASYBLOG_CATEGORY_TOOLTIP= "Search by Category:"
COM_EASYBLOG_CONTINUE_READING= "Continue reading <i class="fa fa-angle-double-right"></i>"
COM_EASYBLOG_EXTERNAL_LINK_TOOLTIP= "Continue reading in new tab"
COM_EASYBLOG_POST_DATE= "View all posts from"
COM_EASYBLOG_POST_DATE_FORMAT_DAY= "dS"
COM_EASYBLOG_POST_DATE_FORMAT_MONTH="F"
COM_EASYBLOG_POST_DATE_YEAR= "o"
COM_EASYBLOG_TAG_TOOLTIP= "Search by Tag:"
COM_EASYBLOG_YOUTUBE_TOOLTIP= "Watch video"
The replies under this section are restricted to logged in users or users with an active subscription with us