ad-si / TaskLite

The CLI task manager for power users
https://tasklite.org
GNU Affero General Public License v3.0
216 stars 12 forks source link

Unsure about the "Opened UTC" column in default report #49

Open ngirard opened 3 years ago

ngirard commented 3 years ago

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 commented 3 years ago

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 ?

ad-si commented 3 years ago

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)