Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 2 of 2

Thread: Registration error, Date format

  1. #1
    marbor
    Guest


    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.

  2. #2
    jpf
    Guest


    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.

Similar Threads

  1. Quick about date format
    By damnedpig in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 07-02-2004, 07:27 AM
  2. How to set date in footer to another format
    By stando in forum osCmax v1.7 Discussion
    Replies: 7
    Last Post: 01-23-2004, 06:50 AM
  3. Date format question
    By Dr_Evil in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 10-23-2003, 06:23 AM
  4. Change date format
    By don in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 01-31-2003, 07:03 PM
  5. Date format
    By killermonkey in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 01-24-2003, 02:07 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •