getmoro/moro

Changing break duration does not change "Work until"

jpstrube opened this issue · 1 comments

Hi, I just noticed that when I alter my break duration, the "Working until" does not reflect this:

$ moro report
┌──────────────────┬────────────────────────┐
│ Today you worked │ 5 Hours and 3 Minutes  │
├──────────────────┼────────────────────────┤
│ Clock in         │ 07:41                  │
├──────────────────┼────────────────────────┤
│ Clock out        │ (Not set yet)          │
├──────────────────┼────────────────────────┤
│ Break duration   │ 30 minutes             │
├──────────────────┼────────────────────────┤
│ Date             │ 2019-05-08             │
└──────────────────┴────────────────────────┘
⏰ Working until 15:11 will make it a full (7 hours) day

$ moro break 60
┌──────────────────┬───────────────────────┐
│ Today you worked │ 5 Hours and 3 Minutes │
├──────────────────┼───────────────────────┤
│ Clock in         │ 07:41                 │
├──────────────────┼───────────────────────┤
│ Clock out        │ (Not set yet)         │
├──────────────────┼───────────────────────┤
│ Break duration   │ 60 minutes            │
├──────────────────┼───────────────────────┤
│ Date             │ 2019-05-08            │
└──────────────────┴───────────────────────┘
⏰ Working until 15:11 will make it a full (7 hours) day

Is this intended?

@jpstrube hi, thanks for reporting. It was a bug and I hope it's fixed now in the latest published version 5.1