respect users timezone when populating working-time dashboard widget (#988)
This commit is contained in:
@@ -35,7 +35,7 @@ document.addEventListener('kimai.initialized', function() {
|
||||
data: {
|
||||
labels: [
|
||||
{% for day in data -%}
|
||||
moment('{{ day.day|date_format(constant('\DateTime::ISO8601')) }}').format('ll')
|
||||
moment('{{ day.day|date_format('Y-m-d') }}').format('ll')
|
||||
{% if not loop.last %},{% endif -%}
|
||||
{%- endfor %}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user