Releases: harnyk/wink
Releases · harnyk/wink
v0.4.2
v0.4.1
v0.4.1-pre.1
Changelog
- f79e231 20
v0.4.0
v0.3.0
Changelog
report
command now has --output
parameter
Specify --output=<path/to/file.json>
to export a report in JSON format.
JSON report is a list of records with the following structure:
[
{
"date": "2023-03-01",
"hours": 9.9,
"is_complete": true,
"is_invalid_sequence": false
},
{
"date": "2023-03-02",
"hours": 7.1,
"is_complete": true,
"is_invalid_sequence": false
},
...
]
date
- date of the record inYYYY-MM-DD
formathours
- number of hours worked on this dayis_complete
-true
if the record is complete,false
otherwise. A record is complete if it has both check-in and check-out.is_invalid_sequence
-true
if the record has invalid check-in/check-out sequence,false
otherwise. For example, if you check-in at 10:00 and check-out at 9:00, the record will be invalid.