Viewing 1 post (of 1 total)
  • Author
    Posts
  • TomC Moderator
    #188224

    Although there are many who use Joomla who are not from/in the USA . . . but for those of you who are – if you’d like to change the date format in Joomla to the American format – this one’s for you.


    STEP ONE:

    Navigate to the en-GB.ini file, which is in this location: your root directory/languages/en-GB/en-GB.ini

    STEP TWO:
    Open the en-GB.ini file with your plain text editor and look for this line of code towards the top of the file:
    DATE_FORMAT_LC2=%A, %d %B %Y %H:%M

    That’s Linux date format code, and you’ll need to change it to this: DATE_FORMAT_LC2=%B %d, %Y

    STEP THREE:
    Once you make that change, save the en-GB.ini file

    Go back to the front of your site and refresh the page.

    Now, here’s an important note to keep in mind: when you make this change, you’re editing a core Joomla file. When you upgrade Joomla, there’s a chance that there will be a new language directory, a new en-GB directory, or a new en-GB.ini file.

    If that’s the case, when you upgrade, your date change will be lost, since the en-GB.ini file that you edited will be overwritten by the new one in the Joomla upgrade package.

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  TomC 11 years, 5 months ago.

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