Author Topic: Changing date format  (Read 5748 times)

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Changing date format
« 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
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
but... it's off topic... create a new, please.
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Changing date format
« Reply #1 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.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Re: Changing date format
« Reply #2 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.
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline yapkot

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Changing date format
« Reply #3 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  :)

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Re: Changing date format
« Reply #4 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  :)
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline yapkot

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Changing date format
« Reply #5 on: August 23, 2013, 11:42:49 PM »
are you clicking save twice?  or x'ing out after once?

 

Powered by SMFPacks Social Login Mod