Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • skelp Friend
    #956050

    Hi,

    How/where can I change the date format?
    It says ‘one months ago’ but I want the creation date to display.
    Here is the link.

    Liesbeth

    Pankaj Sharma Moderator
    #956235

    Hi
    Try this
    Open templates/ja_playstore/templateHelper.php file

    
    static $units = array(
    'YEAR' => 31536000,
    'MONTH' => 2592000,
    'WEEK' => 604800,
    'DAY' => 86400,
    'HOUR' => 3600,
    'MIN' => 60,
    'SEC' => 1,
    );
    

    Replace it with

    return JText::sprintf(JHtml::_('date', $timespan, JText::_('DATE_FORMAT_LC3')));
    static $units = array(
    'YEAR' => 31536000,
    'MONTH' => 2592000,
    'WEEK' => 604800,
    'DAY' => 86400,
    'HOUR' => 3600,
    'MIN' => 60,
    'SEC' => 1,
    );
Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Pankaj Sharma 8 years, 3 months ago.

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