Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • vivagot Friend
    #161376

    Hello. Help me please. I am just install quickstart ja_teline_iv_16
    And have a problem with bad date format only on frontpage.
    Example:


    1. wrong
    2. good
    vivagot Friend
    #381066

    In my case quickstart install work not correct. See post above.
    I find solution:
    In this file your_site_name/templates/ja_teline_iv/html/mod_jabulletin/default.php
    Change this [PHP]<span class=”createdate”><?php echo JText::_(‘Publish’).’: ‘; echo JHTML::_(‘date’, $item->date, JText::_(‘DATE_FORMAT_LC4’)); ?></span>
    <?php endif;?>[/PHP]
    to this [PHP]<span class=”createdate”><?php echo JText::_(‘Publish’).’: ‘; echo JHTML::_(‘date’, $item->date, JText::_(‘DATE_FORMAT_LC1’)); ?></span>
    <?php endif;?>[/PHP]

    I don’t know why, but if i delete this const DATE_FORMAT_LC4 or change to DATE_FORMAT_LC1 or some other date format constant from file en-GB.ini all work very well.
    Sorry for my english )

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

This topic contains 2 replies, has 1 voice, and was last updated by  vivagot 13 years, 8 months ago.

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