By Justin on Thursday, 16 October 2014
Posted in General Issues
Likes 0
Views 451
Votes 0
I'm having trouble finding the formatting Constant for the date output in Group discussions and announcements (see attached). If someone could point me in the right direction it would be much appreciated!
hello Justin,

Unfortunately we do not have setting for configure the date time format in current system.
But you can modify this 2 file :

JoomlaFolder\media\com_easysocial\apps\group\discussions\themes\default\streams\create.content.php (Group Discussion)
// LINE 36
<i class="ies-calendar"></i> <?php echo JText::sprintf( 'APP_GROUP_DISCUSSIONS_CONTENT_POSTED_ON_META' , FD::date( $discussion->created )->format(JText::_('DATE_FORMAT_LC'))); ?>

===================================================================================================
JoomlaFolder\media\com_easysocial\apps\group\news\themes\default\streams\create.content.php (Group Announcement )
//LINE 20
<i class="ies-calendar"></i> <?php echo JText::sprintf( 'APP_GROUP_NEWS_STREAM_META_CREATED_ON' , FD::date( $news->created )->format( JText::_( 'DATE_FORMAT_LC' ) ) ); ?>

//You can replace the Joomla existing format to
//Example : JoomlaFolder\goodjob32.com\language\en-GB\en-GB.ini
DATE_FORMAT_LC="l, d F Y"
DATE_FORMAT_LC1="l, d F Y"
DATE_FORMAT_LC2="l, d F Y H:i"
DATE_FORMAT_LC3="d F Y"
DATE_FORMAT_LC4="Y-m-d"
DATE_FORMAT_JS1="y-m-d"

Hope this help.
·
Friday, 17 October 2014 00:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Awesome! Thanks.
·
Friday, 17 October 2014 00:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Justin, glad that your issues are resolved now
·
Friday, 17 October 2014 02:47
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post