VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: peaceandlove on November 17, 2013, 12:34:12 PM

Title: Change date format to dd/mm/yy
Post by: peaceandlove on November 17, 2013, 12:34:12 PM
Although there are many topics on this topic but i did not find a one simple straigng forward answers, many just say look at this post or just see how to overrids.

Can you please let me know a simple and straingt forward method or answer how to change the data format
Title: Re: Change date format to dd/mm/yy
Post by: jenkinhill on November 17, 2013, 14:24:15 PM
In current versions the date format is set in your Joomla language files, if I recall correctly, DATE_FORMAT_LC1 and DATE_FORMAT_LC2 are used in orders.
Good description of howto in http://forum.joomla.org/viewtopic.php?f=615&t=775861

If you add the overrides for the administrator language file then you can select to add to  BE and FE at the same time.
Title: Re: Change date format to dd/mm/yy
Post by: peaceandlove on November 17, 2013, 14:34:01 PM
Thanks, I know how to change the LC1 and LC 2 , but is this necessary to override files if so how to do that? If i just change LC1 and LC2 will this work
Title: Re: Change date format to dd/mm/yy
Post by: jenkinhill on November 17, 2013, 16:20:04 PM
If you don't set up overrides then next time you update Joomla you will lose the changes. In that thread I linked to it tells you how to do the overrides!

Also see http://forum.virtuemart.net/index.php?topic=113895.0
Title: Re: Change date format to dd/mm/yy
Post by: biltong on October 11, 2016, 11:59:35 AM
Dates in front end order display use the language constant DATE_FORMAT_LC4.