Jump to content

Change date format help


Recommended Posts

I need to change the date format for the user info and user registration screens to be MM-DD-YYYY - currently it is listed as DD-MM-YYYY.
I've seen the threads changing the values in Tools.php - I've done that and changed it to 'en'

$language = Language::getLanguage(intval($id_lang));
        if ($language AND strtolower($language['iso_code']) == 'en')
            return ($tmpTab[2].'-'.$tmpTab[1].'-'.$tmpTab[0].($full ? $hour : ''));
        else
            return ($tmpTab[0].'-'.$tmpTab[1].'-'.$tmpTab[2].($full ? $hour : ''));




That doesn't help with the birthday date format however.

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...