Author Topic: Changing date format  (Read 10893 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 13, 2013, 09:15:17 PM »
How do I change the date format from 13/08/2013  to   08/13/2013  or even   8/13/2013  ?


Thanks for your help.
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Changing date format
« Reply #1 on: August 15, 2013, 08:38:28 AM »
You need to edit language entry for date_format_short and date_format_long  in System -> Languages -> Language Definition

See screenshot.

Note: there is a small bug in 1.1.6 with storefront selection, it shows both admin and storefront. Will be addressed in 1.1.7.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

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 15, 2013, 08:19:34 PM »
OK, those are what I have as my settings and it still is wrong ... guess I have to wait for the fix.  Thanks for your help.


You need to edit language entry for date_format_short and date_format_long  in System -> Languages -> Language Definition

See screenshot.

Note: there is a small bug in 1.1.6 with storefront selection, it shows both admin and storefront. Will be addressed in 1.1.7.
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Changing date format
« Reply #3 on: August 16, 2013, 09:21:13 AM »
What section do you see it in wrong format? If you change setting, do you see changes in the format?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

TopWebNames

  • Guest
Re: Changing date format
« Reply #4 on: August 24, 2013, 08:13:41 PM »
Thanks for this. I understand what d/m/Y and m/d/Y, etc. mean; but what does this mean:  l dS F Y

Offline yapkot

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Changing date format
« Reply #5 on: August 24, 2013, 09:29:41 PM »
l is day dS is the date with suffix, like 23rd or 15th, F is month and Y is year

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Re: Changing date format
« Reply #6 on: August 25, 2013, 12:21:19 PM »
    The changes are still on language definitions but they are not reflecting on the site or invoices.  Do I need to change them somewhere besides just the language definitions?


What section do you see it in wrong format? If you change setting, do you see changes in the format?
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5776
  • Karma: +274/-2
    • View Profile
Re: Changing date format
« Reply #7 on: August 27, 2013, 10:04:52 AM »
How do I change the date format from 13/08/2013  to   08/13/2013  or even   8/13/2013  ?

User Manual updated with Date Format example

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - Free Animal Rescue Websites
Re: Changing date format
« Reply #8 on: August 27, 2013, 10:44:48 AM »
     Hi Basara,
   Thank you for your suggestion ... I have done all of that and the date remains the same both in admin and on the site.  My language definitions are all changed but it hasn't changed the format in admin or the website storefront, I'm thinking something is broken in my install although I have had no other problems.  I don't know what to do since the way it should be done isn't working?



How do I change the date format from 13/08/2013  to   08/13/2013  or even   8/13/2013  ?

User Manual updated with Date Format example
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5776
  • Karma: +274/-2
    • View Profile
Re: Changing date format
« Reply #9 on: August 28, 2013, 01:32:17 AM »
     Hi Basara,
   Thank you for your suggestion ... I have done all of that and the date remains the same both in admin and on the site.  My language definitions are all changed but it hasn't changed the format in admin or the website storefront, I'm thinking something is broken in my install although I have had no other problems.  I don't know what to do since the way it should be done isn't working?

Hello.

1. What is Your AbanteCart version?
2. what exactly your change (provide new values)?
3. did you try to clear cache?
4. did you see changes only somewhere or everything is not changed?
5. did you see any errors (date format related) in admin error log?

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 #10 on: September 04, 2013, 02:54:59 AM »
we added a lot of changes & bug fixes that relates to date formatting to current developer version 1.1.7. You will apply it by upgrade procedure.
“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 #11 on: September 04, 2013, 04:30:33 AM »
Great, when will that version be out?

Also I have been waiting a long time for an answer to my question on this topic, any help with this:

http://forum.abantecart.com/index.php/topic,983.0.html


It looked fine until I did the upgrade to version 1.1.6 from 1.1.5.  I messed it up obviously and this weird look to my file upload otion was the result, any way to fix it??  Do I need to just uninstall and reinstall the cart?



we added a lot of changes & bug fixes that relates to date formatting to current developer version 1.1.7. You will apply it by upgrade procedure.
happiness is being owned by cats ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

 

Powered by SMFPacks Social Login Mod