Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Advanced search and date localisation


LazyCat

Recommended Posts

hi everyone!

 

i'd like some help on a rather difficult (for me at least) topic.

 

i've to localize oscommerce in italian and as part of the italian.php i've wrote

 

// text for date of birth example

define('DOB_FORMAT_STRING', 'gg/mm/aaaa');

 

this string, if i'm right, defines also the appropiate formato for dates in advanced_search. (the format is dd/mm/yyyy for all non-italian)

 

the problem is simple, whenever i submit a search by date, i get php errors:

 

"date from is not valid"

 

"date to is not valid"

 

of course the date are correct (like 25/03/2003 that is 25 of may 2003)... i've looked everywhere in the code, but , probably cause i'm not an experienced php coder, i didn't find any solution...

 

help, anyone? :lol:

 

 

thanks!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...