TaskLite icon indicating copy to clipboard operation
TaskLite copied to clipboard

Unsure about the "Opened UTC" column in default report

Open ngirard opened this issue 3 years ago • 2 comments

I don't understand the meaning of the "Opened UTC" column in the default report.

The documentation doesn't discuss it (for instance, it doesn't appear in the State/Field table here).

ngirard avatar Apr 04 '21 12:04 ngirard

If I understand correctly, this corresponds to the timestamp extracted from the ULID, it that correct ? Which means it cannot be modified, right ? What happens when importing data from Taskwarrior ?

ngirard avatar Apr 04 '21 14:04 ngirard

Yeah exactly. It gets extracted from the ULID. When you import a task it automatically generates an ULID with the correct date. I mean, it can be changed by creating a new ULID, but all references of that ULID would need to be updated to. Currently there is no easy way to do that. I felt like the creation UTC should be immutable, and also it saves storage by combining the ID with the creation UTC. Maybe a command to change the creation date should be added (with a big warning that it changes the ID)

ad-si avatar Apr 05 '21 08:04 ad-si