Releases: totopoloco/hours
Releases · totopoloco/hours
Release list
3.2
Small issues with the version tag in the swagger file
- Fixes a small issue with the swagger file.
Stable version
New parameters
See docker compose file (docker-compose.yml)
The following values can now be overridden (defaults to Austria)
- HOURS_MINUTES_PER_DAY_OF_WORK=462
- HOURS_MAXIMUM_MINUTES_IN_A_ROW=240
- HOURS_MINUTES_TO_REST_BETWEEN_ROWS=30
2.0
Changes to use OpenAPI to document and implement the REST services.
Exposes an extra end point with the remaining parameters
- Exposes a new endpoint rangesWithStartLunchAndMinutesOfLunchBreak where start, lunch and minutesOfLunchBreak can be set
- Extends the scripts and formats nicely the output
Full Changelog: 1.1...1.2
Json output
I decided to output a Json object instead of text. I will start thinking of a possible front-end, probably Flutter.
1.0.1
Publishes the Docker image only on tag creation
1.0.0
Initial release:
Samples:
08:09-12:09 -> 04:00 (4.00)
12:39-16:21 -> 03:42 (3.70)
Total hours: 7.70
Total hours (hh:mm): 7:42
Expected lunch time: 14:44
09:58-13:58 -> 04:00 (4.00)
14:28-18:10 -> 03:42 (3.70)
Total hours: 7.70
Total hours (hh:mm): 7:42
Expected lunch time: 14:17
09:57-13:17 -> 03:20 (3.33)
13:47-17:47 -> 04:00 (4.00)
18:17-18:39 -> 00:22 (0.37)
Total hours: 7.70
Total hours (hh:mm): 7:42
Expected lunch time: 13:17