osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Registration error, Date format

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-03-2004, 11:34 PM
Lurker
 
Join Date: Jan 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
marbor
Default Registration error, Date format

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-04-2004, 06:21 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,795
Thanks: 5
Thanked 104 Times in 90 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 04:05 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax