AbanteCart Community

Shopping Cart Operations => Support => Topic started by: macat on August 14, 2013, 06:42:50 AM

Title: Changing date format
Post by: macat on August 14, 2013, 06:42:50 AM
    OK, changed the file you recommended and it didn't work, date is still the same.



Quote from: macat on August 13, 2013, 10:30:39 PM (http://forum.abantecart.com/index.php/topic,977.msg3702.html#msg3702)
Any ideas where I can change the way the date displays on the site, I want it to look like this:  08/13/2013 instead of  13/08/2013?

date format takes from languages/english.xml file. key: date_format_short.
You can set your own format. See details here (http://ua.php.net/manual/en/function.date.php)
but... it's off topic... create a new, please.
Title: Re: Changing date format
Post by: abolabo on August 14, 2013, 10:45:30 AM
mmm... what about changing this key in system->localisation->language_definitions?
Other way ....You can purge table language_definition and clear cache too to see effect.
Title: Re: Changing date format
Post by: macat on August 14, 2013, 12:47:04 PM
OK, this key system->localisation->language_definitions was already changed in admin ... sorry but I don't know what purge means, how do I do that? 


mmm... what about changing this key in system->localisation->language_definitions?
Other way ....You can purge table language_definition and clear cache too to see effect.
Title: Re: Changing date format
Post by: yapkot on August 23, 2013, 09:50:29 PM
go to system localization language definitions.
on mine it is on page 15 of 361.   

change date_format_short from d/m/Y to m/d/Y

should do the trick  :)
Title: Re: Changing date format
Post by: macat on August 23, 2013, 11:36:08 PM
      Hi Yapkot,
   Thanks, I have done that too and it is still not changing?


go to system localization language definitions.
on mine it is on page 15 of 361.   

change date_format_short from d/m/Y to m/d/Y

should do the trick  :)
Title: Re: Changing date format
Post by: yapkot on August 23, 2013, 11:42:49 PM
are you clicking save twice?  or x'ing out after once?