This is a discussion on Registration error, Date format within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; When i try to registrate a new customer, i get an error code that forces me to change the birthday ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| When i try to registrate a new customer, i get an error code that forces me to change the birthday to the required format. The problem is that the birthday is formated according to the helpline on the right side of the text, and it is not working... But if i format it according to the default language its working fine. The default format is: (eg. 05/21/1970) The swedish format of is: (eg. 1970-05-21) And if i donīt use the default format, i will get an error code. |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| in your main language file ie: /includes/language/english.php look for something like (about line 70): // text for date of birth example define('DOB_FORMAT_STRING', 'mm/dd/yyyy'); change to: // text for date of birth example define('DOB_FORMAT_STRING', 'yyyy/mm/dd'); or which ever your format is for that language (See lines 20-25 in the SAME file). Good luck.
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Quick about date format | damnedpig | osCMax v1.7 Discussion | 2 | 07-02-2004 08:27 AM |
| How to set date in footer to another format | stando | osCMax v1.7 Discussion | 7 | 01-23-2004 06:50 AM |
| Date format question | Dr_Evil | osCommerce 2.2 Modification Help | 3 | 10-23-2003 07:23 AM |
| Change date format | don | osCommerce 2.2 Installation Help | 1 | 01-31-2003 07:03 PM |
| Date format | killermonkey | osCommerce 2.2 Modification Help | 3 | 01-24-2003 02:07 AM |