mclang / kiho-wt-puncher

Rust CLI app to make Kiho worktime login/logout punches using Kiho API
GNU General Public License v3.0
1 stars 0 forks source link

Calculate time after running `LOGOUT` #13

Open mclang opened 1 week ago

mclang commented 1 week ago

Problem

It would be nice to see the hours when logging out... It would also help to spot if user forgot to stop working time the day before.

Solution

  1. Get previous login when doing LOGOUT.
  2. Calculate and display HH:MM.