Date format configuration

The goal of this PR is to make possible to have a different date format than the default mm/dd/yyyy and the 12 hours clock.

By default it keeps the american dates but you can decide to use a different "locale" file.

The solution might not be the most elegant and there is some redundancy as the date format for the backend and the frontend is different.

Would love to hear your thoughts!