Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • imsleepy Friend
    #149284

    Hello,

    The dates are all fine for news articles, but for the Latest News and Popular News modules at the bottom of the page I have the 20.08.08 format. I need 12.March.2010 etc.

    I checked the eng-GB file and it shows:

    DATE_FORMAT_LC=%A, %d %B %Y
    DATE_FORMAT_LC1=%A, %d %B %Y
    DATE_FORMAT_LC2=%A, %d %B %Y %H:%M
    DATE_FORMAT_LC3=%d %B %Y
    DATE_FORMAT_LC4=%d.%m.%y
    DATE_FORMAT_JS1=y-m-d
    %Y-%M-%D=%Y-%m-%d
    %A, %B %E=%A, %B %e

    What do I need to change so that only the dates in those modules (and maybe others that I haven’t noticed yet) are changed to 12.March.2010 etc?

    Thanks!

    Anonymous Moderator
    #335549

    Hi imsleepy

    + please open modulesmod_jabulletintmpldefault.php file, find following code section:

    <span><?php echo JHTML::_(‘date’, $item->date, JText::_(‘DATE_FORMAT_LC4’)); ?></span>

    and change to:

    <span><?php echo JHTML::_(‘date’, $item->created, JText::_(‘DATE_FORMAT_LC5’)); ?></span>

    + open your language file, add following code after DATE_FORMAT_LC4=%d.%m.%y:

    DATE_FORMAT_LC5=%d.%F.%Y

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by Anonymous 14 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum