GothenburgBitFactory / GothenburgBitFactory/tasklib

datetime in Task doesn't match datetime in .task file

Open
#124 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
159
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Please take a look at [#345](https://github.com/vit-project/vit/issues/345) . I would like to use vit inside a docker container. Unfortunately, the datetimes in Task objects do not necessarily match the true datetimes of tasks. To reproduce the issue, take the following steps:
1. Run `set-up-container.sh` (See the linked issue).
2. Once inside the container, run `generate-dummy-install.sh` and run the export commands that it tells you to.
3. Add `debug.console(task._data)` directly above line 233 of `./usr/lib/python3/dist-packages/vit/task_list.py` and `import vit.debug as debug` to the top of that file.
4. Modify task 2 to have due date `2023-09-13 17:00:00`.
5. Inspect the logs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.