language specific money and date display (#180)

* improved date translation
* language specific date and money display
This commit is contained in:
Kevin Papst
2018-06-25 16:41:12 +02:00
committed by Simon Schaufelberger
parent f563e0703d
commit d4a46cf257
14 changed files with 308 additions and 37 deletions

View File

@@ -35,10 +35,18 @@ kimai:
number_generator:
default: 'App\Invoice\DateNumberGenerator'
# Language specific settings, like the date formats
languages:
de:
date_short: "d.m.Y"
en:
date_short: "Y-m-d"
ru:
date_short: "d.m.Y"
twig:
globals:
kimai_context:
date_1: "d.m.Y" # used for display in timesheets
box_color: "green" # a color for ???
active_warning: 3 # display a warning color if the user has at least X active recordings
control_sidebar: # all tabs in the control sidebar