Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Age Verifacation


Recommended Posts

  • 2 months later...



I have just installed it and it works great when you sign up (or try to sign up for an account) in my english pages.

But when you try on my swedish pages that have the dateformat as:


setlocale(LC_TIME, 'sv_SE.ISO_8859-1');

define('DATE_FORMAT_SHORT', '%Y-%m-%d'); // this is used for strftime()

define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()

define('DATE_FORMAT', 'Y-m-d'); // this is used for date()



It does not accept that i write 1970-12-14 or 1995-12-14 ,it just accept when i write 15/12/1970.


Shall it work with other dateformats then the english one?


Thanks in advance.



Link to comment
Share on other sites

  • 3 years later...

Hi all!


I've added a bug fix for this contribution - there is an error which prevents people that are 18 (or whatever you've set your MIN_AGE to) from registering - as the evaluation of cmonth and month was wrong. See the README for full info.







Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...