How are you entering the dates, as in what are you typing or doing to enter the dates?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hi, I'm using the little pop up calendar so it's not as if I have the US/UK date format thing wrong. I have now made the 'Sale' work but only as long as I leave the end date at the default 2036...I'll just have to remember to switch it off but that's not really the point...
When you use the calendar and select a date, what shows in the input boxes for the dates *before* you save the settings?
Is this a Clean install of v1.3.9h or an Update?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
The dates are fine before they are saved. As for the question about the install, I don't know as I have inherited this. It was supposedly put together for the company I am working for as a bespoke site for them. I have subsequently found that it is a very poorly configured copy of another template. I'm spending most of my time correcting things rather than creating things...
Do you have any issues with dates on Featured Products or Products?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
We are having huge problems with dates...if I might take a moment to explain...
Car parts are suitable to cars made between certain dates, eg an Oil Filter for a Peugeot 206 from 1997 to 2007. The way we are set up we can ONLY enter the first date ie the date of manufacture and not the end date. This means that we have to enter the part for every year ei once for 1997, once for 1998, once for 1999 etc...it also means that because the same part might be suitable for multiple vehicles (very common) we have to then enter the same part for EACH vehicle, and then EACH fuel type or BODY type. Currently it means that one single oil filter might need to be entered 120 times! There MUST be a better way and if you know of one I would be eternally grateful! Date formats other than that seem to be fine, they only go wrong in Salemaker.
My question is regarding the built in dates to Zen Cart, such as when you Add/Edit a Product ...
Or Add/Edit a Featured Product ...Date Available:
(YYYY-MM-DD)
Do those dates work?Available Date:
Expiry Date:
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Since you are not sure of the origins of this site ...
I would use something like Beyond Compare from scootersoftware.com and check your server files in your /your_secret_admin to a clean copy of Zen Cart v1.3.9h /admin and make sure that there are no files that are out of date ...
Also, in your file:
/your_secret_admin/includes/languages/english.php
does this section of defines match:
Code:// look in your $PATH_LOCALE/locale directory for available locales.. // on RedHat6.0 I used 'en_US' // on FreeBSD 4.0 I use 'en_US.ISO_8859-1' // this may not work under win32 environments.. setlocale(LC_TIME, 'en_US.ISO_8859-1'); define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() define('DATE_FORMAT', 'm/d/Y'); // this is used for date() define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); define('DATE_FORMAT_SPIFFYCAL', 'MM/dd/yyyy'); //Use only 'dd', 'MM' and 'yyyy' here in any order //// // Return date in raw format // $date should be in format mm/dd/yyyy // raw date is in format YYYYMMDD, or DDMMYYYY function zen_date_raw($date, $reverse = false) { if ($reverse) { return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4); } else { return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2); } }
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Bookmarks