GothenburgBitFactory / GothenburgBitFactory/taskwarrior

"task calc 12h + 25m + 30s" gives 750+ days

Open
#2,898 15 comments 0 reactions 0 assignees View on GitHub
topic:time
Dominant language
C++
Stars
6.1k
Forks
423
Avg merge
1d 19h
Merged PRs (30d)
11

Description

with taskwarrior v2.6.2:
```
$ src/task calc 12h + 25m + 30s
P750DT12H30S
```

discrepant with https://taskwarrior.org/docs/commands/calc/ section "Durations" where it claims the output should be:
```
$ task calc 12h + 25m +30s
PT12H25mPT30S
```
(I tried with and without the space after second `+`, present on web site but makes no difference)
(not sure if libshared is the right place for this issue?)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.