Skip to content

timetrace status: Display break time without seconds #105

@dominikbraun

Description

@dominikbraun

At the moment, the break time displayed on timetrace status includes seconds:

+-------------------+----------------------+----------------+--------------+
|  CURRENT PROJECT  |  WORKED SINCE START  |  WORKED TODAY  |    BREAKS    |
+-------------------+----------------------+----------------+--------------+
| web-store         | 0h 30min             | 0h 30min       | 0h 0min 0sec |
+-------------------+----------------------+----------------+--------------+

Since timetrace doesn't deal with seconds at least from a user perspective, the output here should be 0h 0min instead.

There's probably a way to format this using the Formatter type. You can get a ready-to-use instance using Timetrace.Formatter().

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions