GothenburgBitFactory / GothenburgBitFactory/taskwarrior

cmd: task timesheet [x] does not display x weeks

Open
#3,160 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
6.1k
Forks
423
Avg merge
1d 19h
Merged PRs (30d)
11

Description

#### To report a bug...

* What command(s) did you run?
task timesheet 2 (or any number of weeks)

* What did you expect to happen?
in older versions of taskwarrior, this cmd would successfully generate a timesheet with x weeks of data based on the weeks numeric value specified

* What actually happened?
it seems to interpret the the [x] week numeric value specified as task id and generates a timesheet only with said task ID. it also seems that the date is wrong as it always has a date value of 12-31-1969 in the date column

_Unsure if it matters, but I run task on a CentOS8 LXC container_

* Paste the output of the ```task diag``` command.

task 2.6.2
Platform: Linux

Compiler
Version: 8.5.0 20210514 (Red Hat 8.5.0-18)
Caps: +stdc +stdc_hosted +LP64 +c8 +i32 +l64 +vp64 +time_t64
Compliance: C++17

Build Features
CMake: 3.20.2
libuuid: libuuid + uuid_unparse_lower
libgnutls: n/a
Build type: release

Configuration
File: /root/.taskrc (found), 3357 bytes, mode 100644
Data: /root/.task (found), dir, mode 40755
Locking: Enabled
GC: Enabled
rc.editor: nano
Server:
CA: -
Certificate: -
Key: -
Trust: strict
Ciphers: NORMAL
Creds:

Hooks
System: Enabled
Location: /root/.task/hooks
(-none-)

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.