Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Time entries incorrectly recorded as negative #1007
I enter a time entry of 30min or 45min and it's recorded properly.
My 30min entry is recorded as -30min. The In and Out times are reverse to what I entered. My 45min entry is recorded as -15min. Although I entered 18:00-18:45, it is recorded as 18:30-18:15.
Steps to reproduce
Install a new version of v18.104.22.1689 with a clean database. Do not edit any of the default settings. Add time entries of 30 or 45min.
I first noticed this in some entries I added recently to an installation I created last month (June). I have re-installed it several times over with different versions but continue to get this error for entries of 30 or 45 min. What could be going wrong?
Reproducable on demo.kimai.org? [yes|no]
Kimai version [for example: dev 22.214.171.1249|github master|github develop]
Relevant log entries from log file (debug tab or temporary/logfile.txt)
22.07.2017 18:01:24] KSPI axAction (admin): add_edit_timeSheetEntry
the problem is the time of the server and your client. they seem to be different. we store the time serverside but display it clientside. if they are not the same, then negative values are possible.