AlexandrePTJ / kemai

Kimai desktop client
MIT License
94 stars 25 forks source link

Client does not calculate times based on user's timezone #6

Closed oli-ver closed 4 years ago

oli-ver commented 4 years ago

I have configured Kemai for the timezone Europe/Berlin. My operating system (Debian 10 Buster) is set to the same time.

When starting the clock the UI shows 22:00:00 as starting point:

grafik

After stopping the clock the web interface start and end times do not match, so no time can be calculated:

grafik

This is the logfile of the UI client:

===> [GET]   "https://kimai.my-host.hld/api/version"
===> [GET]   "https://kimai.my-host.hld/api/timesheets/active"
===> [GET]   "https://kimai.my-host.hld/api/customers"
===> [GET]   "https://kimai.my-host.hld/api/projects?customer=1"
===> [GET]   "https://kimai.my-host.hld/api/activities?project=2"
===> [GET]   "https://kimai.my-host.hld/api/activities?project=1"
===> [GET]   "https://kimai.my-host.hld/api/timesheets/active"
===> [GET]   "https://kimai.my-host.hld/api/customers"
===> [GET]   "https://kimai.my-host.hld/api/projects?customer=1"
===> [GET]   "https://kimai.my-host.hld/api/activities?project=1"
===> [POST]  "https://kimai.my-host.hld/api/timesheets" "{\n    \"activity\": 1,\n    \"begin\": \"2020-05-10T13:26:05\",\n    \"description\": \"\",\n    \"project\": 1\n}\n"
AlexandrePTJ commented 4 years ago

Thanks you for the feedback. This is fixed in develop branch.