Comments (7)
I have tried to create two tasks, each having the same due date, but one as repeating task and another as recurring task, but upon completing them, TaskLite simply created a new tasks not considering different semantic, iow. that new instance of recurring task (e.g. wash the car) should be relative to completion date.
Dang, I broke it while unifying the duration parser. Thanks a lot for the heads up, it's fixed in master. I also added an extra page in the documentation https://tasklite.org/repetition_and_recurrence.html with some examples
only Etm does handle date arithmetic properly...
With the new duration parser it should handle all date arithmetic correctly! =)
from tasklite.
- You can set none, either, or both on the CLI
To prevent setting both simultaneously is an outstanding issue.
Is that the idea? What is the intended workflow/semantics here?
Mh, do you have another scenario in mind where they should be taken into account?
But I don’t see any code which would create a number of tasks in advance, maybe I’m missing a detail here. There is only a
createNextRecurrence
function, but none that would create multiple tasks. Also, there is no config option.
Sorry, the documentation is not up to date. Currently it only creates the next task. I'm still pondering the implications of creating several in advance and how this would be used. If you have any thoughts / insights on this, I'd be happy to hear them =).
Comparing to taskwarrior (which I’m trying to migrate from), they do it a little bit differently. They don’t support repetition, rather recurrence with a config of how many tasks should be generated in advance; they run their task generation logic each time you run the command, regardless of whether that command changes something else. It’s certainly convenient, but not super easy to reason about (since random tasks could change at random times).
I don’t expect tl to be the same as tw, or even support recurrence feature that tw supports.
This feature was actually one of the main reasons I abandoned Taskwarrior. It never worked like I thought it would. But I admit, that TaskLite is not much better yet. At least it is easy to reason about and it differentiates between recurrence and repetition. But it's definitely still a work in progress.
from tasklite.
Hello,
Sorry, the documentation is not up to date. Currently it only creates the next task. I'm still pondering the implications of creating several in advance and how this would be used. If you have any thoughts / insights on this, I'd be happy to hear them =).
See my comment...
This feature was actually one of the main reasons I abandoned Taskwarrior. It never worked like I thought it would. But I admit, that TaskLite is not much better yet. At least it is easy to reason about and it differentiates between recurrence and repetition. But it's definitely still a work in progress.
I have tried to create two tasks, each having the same due date, but one as repeating task and another as recurring task, but upon completing them, TaskLite simply created a new tasks not considering different semantic, iow. that new instance of recurring task (e.g. wash the car) should be relative to completion date.
Otherwise, I'm very pleased with everything (e.g. using Sqlite3 etc.) in TaskLite, but at the moment, only Etm does handle date arithmetic properly...
from tasklite.
Why I get Python test
printed in the output?
$ tl all
Python test
Id Prio Opened UTC Body
t88 0 2020-10-12 Mow the lawn 2020-10-12 15:08:30
r9d 3 2020-10-12 Mow the lawn 2020-10-19 15:08:29
from tasklite.
With the new duration parser it should handle all date arithmetic correctly! =)
I also wonder parser can handle things like: monthly
properly considering length of the month, or last tuesday in the month
etc. ?
Otherwise, I'm very pleased with TaskLite's functionality, congrats!!
from tasklite.
Why I get
Python test
printed in the output?
Uhm sorry, I committed a little too experimental code in the master branch. It's a hook defined in your auto generated config file. Simply comment the corresponding part out and it won't be printed anymore.
I also wonder parser can handle things like: monthly properly considering length of the month
monthly is P1M
and it correctly handles different month lengths.
or last Tuesday in the month etc. ?
I don't think this is possible, yet (https://en.wikipedia.org/wiki/ISO_8601#Durations). You could do P4W
, which would mean "every 4 weeks". I opened a new issue for it: #35
Otherwise, I'm very pleased with TaskLite's functionality, congrats!!
Thank you!
from tasklite.
Uhm sorry, I committed a little too experimental code in the master branch. It's a hook defined in your auto generated config file. Simply comment the corresponding part out and it won't be printed anymore.
Ok.
monthly is
P1M
and it correctly handles different month lengths.
Thanks.
I don't think this is possible, yet (https://en.wikipedia.org/wiki/ISO_8601#Durations). You could do
P4W
, which would mean "every 4 weeks". I opened a new issue for it: #35
OK, that was (one) problem with taskwarrior
defaulting to 30days...
from tasklite.
Related Issues (20)
- Provide a way of exporting data to Taskwarrior HOT 1
- Unsure about the "Opened UTC" column in default report HOT 2
- The "Opened UTC" column is barely readable on dark terminals HOT 4
- The data corresponding to the "Opened UTC" column is not exported to NDJSON HOT 1
- Question: Can you use relative due dates? HOT 1
- Question: Is there a note taking system
- "tasklite prioritize VALUE TASK_ID" does not work for negative values HOT 3
- Command 'recur' broken/removed? HOT 3
- Suggestion: "Opened UTC" column vs task age
- compiling error HOT 4
- Suggestion: Bulk complete tasks HOT 2
- Suggestion: Add date shortcuts
- Weird effects from possible accidental upgrade? HOT 4
- Add support for setting colors for tags HOT 5
- Make selection of shown columns configurable
- Don't use rowid for tables to improve performance and storage usage
- Upgrade GitHash and use giDescribe
- Add support for NO_COLOR
- Detect background color and set default colors accordingly
- Include a WebDAV server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tasklite.