GothenburgBitFactory / GothenburgBitFactory/taskwarrior

Duration incorrectly reported in info etc vs export

Open
#3,173 4 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

#### To report a bug...

* What command(s) did you run?
task 525
task 525 export
* What did you expect to happen?
The estimate field to show either `7d` or `604800
* What actually happened?
The task output showed `Estimate PT0S`
The task export output showed "estimate":"604800"
* Paste the output of the ```task diag``` command.

task 2.6.1
Platform: Linux

Compiler
Version: 11.2.0
Caps: +stdc +stdc_hosted +LP64 +c8 +i32 +l64 +vp64 +time_t64
Compliance: C++17

Build Features
CMake: 3.18.4
libuuid: libuuid + uuid_unparse_lower
libgnutls: 3.7.1
Build type: None

Configuration
File: /home/vijayvithal/.taskrc (found), 3218 bytes, mode 100775
Data: /home/vijayvithal/.task (found), dir, mode 40775
Locking: Enabled
GC: Enabled
$VISUAL: /usr/bin/vim
Server: taskwarrior.inthe.am:53589
CA: /home/vijayvithal/.task/cert/ca.cert.pem, readable, 2405 bytes
Certificate: /home/vijayvithal/.task/cert/private.certificate.pem, readable, 2462 bytes
Key: /home/vijayvithal/.task/cert/private.key.pem, readable, 3664 bytes
Trust: ignore hostname
Ciphers: NORMAL
Creds: inthe_am/jahagirdar.vs/************************************

Hooks
System: Enabled
Location: /home/vijayvithal/.task/hooks
Active: on-modify.timewarrior (executable)
Inactive: on-exit_dashboard (not executable)

Tests
Terminal: 120x30
Dups: Scanned 1115 tasks for duplicate UUIDs:
Found duplicate 8e883327-a048-4db8-988c-f87af5a67180
Broken ref: Scanned 1115 tasks for broken references:
No broken references found

#### To request a feature...

* Clearly describe the feature.
* Clearly state the use case. We are only interested in use cases, do not waste time with implementation details or suggested syntax.
* Please see our notes on [How to request a feature](https://taskwarrior.org/docs/features.html)

# Full display of both the commands
task 525 export ─╯
```
[
{"id":525,"assign":"verif_team","description":"CPU Read\/Writes via SPI","entry":"20230915T131439Z","estimate":"604800","modified":"20230915T153729Z","project":"apollo","status":"pending","uuid":"1a7a52f9-b784-4252-836d-5a10cc996891","urgency":9}
]
```
task 525 info ─╯
```
Name Value
ID 525
Description CPU Read/Writes via SPI
Status Pending
Project apollo
This task is blocking 485 Verification @ 50% done.
Entered 2023-09-15 18:44:39 (2h)
Last modified 2023-09-15 21:07:29 (12min)
Virtual tags BLOCKING PENDING PROJECT READY UDA UNBLOCKED
UUID 1a7a52f9-b784-4252-836d-5a10cc996891
Urgency 9
Owner verif_team
Estimate PT0S

project 1 * 1 = 1
blocking 1 * 8 = 8
------
9

Date Modification
2023-09-15 18:45:08 Description changed from 'CPU Writes via SPI' to 'CPU Read/Writes via SPI'.
2023-09-15 18:46:00 Assign set to '1w'.
2023-09-15 18:48:17 Assign deleted.
Estimate set to '604800'.
2023-09-15 21:04:30 Assign set to 'verif_team'.
Estimate changed from '604800' to '0'.
2023-09-15 21:07:29 Estimate changed from '0' to '604800'.

```

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.