laravel-enso / enso

Laravel Vue SPA, Bulma themed. For demo login use `admin@laravel-enso.com` & `password` -
https://www.laravel-enso.com
MIT License
1.08k stars 277 forks source link

Choosing Date/Datetime and number format #277

Closed pongraczi closed 4 years ago

pongraczi commented 4 years ago

This is a feature request.

Prerequisites

Feature request

It would be useful to be able to control formats inside the application UI instead of via config files.

Expected behavior

User can choose his/her locale and preferred number/date format under his/her preferences.

Actual behavior

At this moment the dateformat is forced by the relevant config file and system wide, it is not possible to control it via the frontend and even have different format for every user.
I had to change the dateformat in 3 different config files and datetimeformat in 1 config file.

aocneanu commented 4 years ago

Hi @pongraczi

Feel free to make a PR for this.

The reason you have to set the dateformat in 3 places is because forms and tables are standalone packages.

pongraczi commented 4 years ago

Thank you Adrian for the explanation, now it is more clear.