Improved Locales (#5497)

- Switch Chinese time format to 24-hours - fixes #5496
- Use always 4 chars for year
- Use one `HH` instead of `H`, so we don't have to convert during runtime
- Update all locales
- Allow seeing time and date format in help UI
- Fix RTL in UI
- Show stats about found formats in Locales command
This commit is contained in:
Kevin Papst
2025-05-26 20:59:39 +02:00
committed by GitHub
parent 87168de4f1
commit e69ac6968b
9 changed files with 282 additions and 154 deletions

View File

@@ -68,20 +68,20 @@ class AppExtensionTest extends TestCase
'kimai.data_dir' => '/tmp/',
'kimai.languages' => [
'en' => [
'date' => 'M/d/yy',
'date' => 'M/d/y',
'time' => 'h:mm a',
'rtl' => false,
'translation' => true,
],
'de' => [
'date' => 'dd.MM.yy',
'date' => 'dd.MM.y',
'time' => 'HH:mm',
'rtl' => false,
'translation' => true,
],
'he' => [
'date' => 'd.M.y',
'time' => 'H:mm',
'time' => 'HH:mm',
'rtl' => true,
'translation' => true,
],