-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
klog start --resume
fall back to previous record
Resolves #266. In case there is no record at the current date, `klog start --resume` now falls back to the previous record for determining the last entry summary. E.g., for this file: ``` 2020-01-01 14:00-15:00 Something ``` Say today was `2020-01-02` + `13:39`, then `klog start --resume` would yield: ``` 2020-01-01 14:00-15:00 Something 2020-01-02 13:39-? Something ``` Previously, the newly created entry wouldn’t have had a summary.
- Loading branch information
Showing
3 changed files
with
71 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters