mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 19:11:25 +01:00
feat(time): readable time tables with totals and gh-style feedback
time list printed Go durations (1h30m0s), raw timestamps and no issue title. It now shows ID ISSUE USER SPENT WHEN with "#1 Login fails", "1h 30m" and relative times on a terminal, followed by the total of the listed time, and points at --mine when no repository is selected. --issue takes issue URLs, --username takes @me, and --since replaces --from, which still works. time create (also add and log) reports "✓ Logged 1h 25m on alice/x#1 (title)"; time delete and reset name the time they delete in their confirmation and ✓ line. Time records gain an issue_title JSON field. Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
5 files changed
+261
-96
No files matched your search
@@ -432,14 +432,9 @@ const (
|
||||
pr attachment view
|
||||
search issue
|
||||
search pr
|
||||
time create
|
||||
time delete
|
||||
time list
|
||||
time reset
|
||||
`
|
||||
longsToWrite = `
|
||||
issue attachment
|
||||
pr attachment
|
||||
time
|
||||
`
|
||||
)
|
||||
Reference in new issue
Block a user