Jump to content

date format


Recommended Posts

To change the default date format open /classes/tools.php and change the following line 243


return ($tmpTab[0].'-'.$tmpTab[1].'-'.$tmpTab[2].($full ? $hour : ''));



for MM-DD-YYYY

return ($tmpTab[1].'-'.$tmpTab[2].'-'.$tmpTab[0].($full ? $hour : ''));



Some reason they only put a setting for french language to use european style DD-MM-YYYY, for you guys change the line to match that. being:

return ($tmpTab[2].'-'.$tmpTab[1].'-'.$tmpTab[0].($full ? $hour : ''));



can of course change the '-'s to '/'s as well for MM/DD/YYYY

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