AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: macat on August 13, 2013, 09:15:17 PM

Title: Changing date format
Post by: macat 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.
Title: Re: Changing date format
Post by: abantecart 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.
Title: Re: Changing date format
Post by: macat 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.
Title: Re: Changing date format
Post by: abantecart 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?
Title: Re: Changing date format
Post by: TopWebNames 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
Title: Re: Changing date format
Post by: yapkot 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
Title: Re: Changing date format
Post by: macat 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?
Title: Re: Changing date format
Post by: Basara 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 (http://www.abantecart.com/ecommerce-documentation/52-admin-user-manual/system/localization#Date_format)
Title: Re: Changing date format
Post by: macat 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 (http://www.abantecart.com/ecommerce-documentation/52-admin-user-manual/system/localization#Date_format)
Title: Re: Changing date format
Post by: Basara 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?
Title: Re: Changing date format
Post by: abolabo 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.
Title: Re: Changing date format
Post by: macat 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.