Skip to content

Commit 4c49d35

Browse files
New version 0.5a7; improve report & fix cancel
1 parent 4e892eb commit 4c49d35

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Summary
44
* [**Unreleased**](#unreleased)
5+
* [**Release 2025-05-18 v0.5a7**](#release-2025-05-18-v05a7) Add starttime to `report`; Bug fix in `cancel`
56
* [**Release 2025-05-16 v0.5a6**](#release-2025-05-16-v05a6) Add options to `projects` command; Fix `report` command
67
* [**Release 2025-05-15 v0.5a5**](#release-2025-05-15-v05a5) Report command tested and updated; Get csv files for a single user tested and implemented
78
* **Release 2025-05-14 v0.5a4** Optimized getting csv files to report locally or globally for a single user
@@ -28,7 +29,10 @@
2829
# Details
2930

3031
## Unreleased
32+
33+
## Release 2025-05-18 v0.5a7
3134
* ADDED start time to `report` stdout
35+
* FIXED incorrect param order in `cancel`
3236

3337
## Release 2025-05-16 v0.5a6
3438
* ADDED `trk project` option, `--exists` to mark which projects exist

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77
[project]
88
name = "timetracker-csv"
99
description = "Pandas-friendly time tracking from the CLI"
10-
version = "0.5a6"
10+
version = "0.5a7"
1111
license = "AGPL-3.0-or-later"
1212
authors = [
1313
{name = 'DV Klopfenstein, PhD', email = 'dvklopfenstein@protonmail.com'},

timetracker/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
__copyright__ = 'Copyright (C) 2025-present, DV Klopfenstein, PhD. All rights reserved'
44
__author__ = 'DV Klopfenstein, PhD'
5-
__version__ = '0.5a6'
5+
__version__ = '0.5a7'
66

77
# Copyright (C) 2025-present, DV Klopfenstein, PhD. All rights reserved

timetracker/cmd/cancel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def run_cancel(cfgproj, name=None):
2525
debug(yellow('RUNNING COMMAND CANCEL'))
2626
start_obj = cfgproj.get_starttime_obj(name)
2727
if start_obj and exists(start_obj.filename):
28-
prt_elapsed(f'{str_cancelled1()}; was', start_obj)
28+
prt_elapsed(start_obj, f'{str_cancelled1()}; was')
2929
remove(start_obj.filename)
3030
return start_obj.filename
3131
print(str_not_running())

0 commit comments

Comments
 (0)