i have found the date format in the main english language file (.../catalog/language/english/english.php), and i have changed it to my desired format. however, when i look at, for example, the list of orders, i still see the dates formatted euro style. i see in the database they are stored as datetime, so i'm assuming it isn't about how they are stored in the db. is there something else i am missing?
thanks!
thanks!
Okay, I changed the long and short date formats in these two files.rph wrote:To recap, you need to change the file in TWO locations:
/admin/language/english/english.php
/catalog/language/english/english.php
But I'm still seeing year/month/date on the data tab for products.
I don't get this.
1.4.8b
Using OC version 1.4.8b
http://catandcaboodle.com/
I went ahead and created a vQmod for updating the dates to US format:
http://www.opencart.com/index.php?route ... on_id=4504
Enjoy!
http://www.opencart.com/index.php?route ... on_id=4504
Enjoy!
First install vQmod: http://code.google.com/p/vqmod/mybaysix wrote:just downloaded your US dates and times, where do i download it in the opencart files???
And then upload my .xml file to the /vqmod/xml/
hmm...when I use this plugin it fixes the date great, but it breaks my site? A lot of the jquery doesnt work as well as products not adding to cart.
http://sunnybunnyeastereggs.com/store/ is my site. I removed the plugin to get the site working properly.
Any ideas?
http://sunnybunnyeastereggs.com/store/ is my site. I removed the plugin to get the site working properly.
Any ideas?
Change the date available (from the Data tab on Product page in admin panel) on the file:
admin/controller/catalog/product.php
on lines 867 and 869
admin/controller/catalog/product.php
on lines 867 and 869
If anyone is still interested... All you have to do is edit the file located at:
{yourwebsite.com}\catalog\language\english\english.php
The first two lines are the time and date settings for the site.
If you want a good reference to go by, the php date page is a great one. It is located at:
http://www.php.net/manual/en/function.date.php
Hope that helps anyone who finds this post in the future!
{yourwebsite.com}\catalog\language\english\english.php
The first two lines are the time and date settings for the site.
If you want a good reference to go by, the php date page is a great one. It is located at:
http://www.php.net/manual/en/function.date.php
Hope that helps anyone who finds this post in the future!
I did this but the date is still showing incorrectly. Do I have to restart PHP on my web server? Only problem is that my server is hosted and I only have access through cPanel... anyone know how to restart web services via cPanel?mfarmer wrote:If anyone is still interested... All you have to do is edit the file located at:
{yourwebsite.com}\catalog\language\english\english.php
The first two lines are the time and date settings for the site.
If you want a good reference to go by, the php date page is a great one. It is located at:
http://www.php.net/manual/en/function.date.php
Hope that helps anyone who finds this post in the future!
thanks!
Mike B
Hi,
For those of you using Mijoshop (the Joomla component that bridges Opencart and Joomla), you will need to modify the following files in your Joomla installation. For some reason the Mijoshop developers decided to overwrite the date formats in the Opencart language files.
/language/en-GB/en-GB.com_mijoshop.ini
/administrator/en-GB/en-GB.com_mijoshop.ini
For those of you using Mijoshop (the Joomla component that bridges Opencart and Joomla), you will need to modify the following files in your Joomla installation. For some reason the Mijoshop developers decided to overwrite the date formats in the Opencart language files.
/language/en-GB/en-GB.com_mijoshop.ini
/administrator/en-GB/en-GB.com_mijoshop.ini
Who is online
Users browsing this forum: No registered users and 198 guests