Change how time entries based on PIT issues are logged when using --ptk.

This commit is contained in:
Jonathan Bernard 2023-12-17 07:32:46 -06:00
parent ddad90ddef
commit 8cf0bf5d98
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Package
version = "4.24.0"
version = "4.24.1"
author = "Jonathan Bernard"
description = "Personal issue tracker."
license = "MIT"

View File

@ -463,7 +463,7 @@ when isMainModule:
)
cmd &= " -g \"" & tags.join(",") & "\""
cmd &= " -n \"pit-id: " & $issue.id & "\""
cmd &= " \"" & issue.summary & "\""
cmd &= " \"[" & ($issue.id)[0..<6] & "] " & issue.summary & "\""
discard execShellCmd(cmd)
elif targetState == Done or targetState == Pending:
discard execShellCmd("ptk stop")

View File

@ -1,4 +1,4 @@
const PIT_VERSION* = "4.24.0"
const PIT_VERSION* = "4.24.1"
const USAGE* = """Usage:
pit ( new | add) <summary> [<state>] [options]
@ -185,4 +185,4 @@ Issue Properties:
If present, expected to be a comma-delimited list of text tags. The -g
option is a short-hand for '-p tags:<tags-value>'.
"""
"""