I have the same problem with this questions. This is what I found.
What I did:
I manually change the date format to ‘d-m-Y’ in the language file. (Leantime 2.1.4)
The problem is when I open ‘Reports’ menu. Leantime returns error 500.
Error from my log file:
PHP Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (20/01/2021) at position 0 (1): Unexpected character in <leantime_dir>/src/domain/sprints/services/class.sprints.php:177
What I found:
After a quick search I think I found the cause of the problem from hjpotter92’s top voted answer here.
Dates in the
d-m-y formats are disambiguated by looking at the separator between the various components: if the separator is a slash (
/ ), then the American
m/d/y is assumed; whereas if the separator is a dash (
- ) or a dot (
. ), then the European
d-m-y format is assumed.
If you still want to use the date > month > year format. You can use dash (-) instead of slash (/) so date format will be ‘d-m-Y’. I tried this and leantime working fine with this approach.