Skip to content

Instantly share code, notes, and snippets.

@languitar
Created April 8, 2018 16:02
Show Gist options
  • Save languitar/62e5821419a51d63c3c403518417c513 to your computer and use it in GitHub Desktop.
Save languitar/62e5821419a51d63c3c403518417c513 to your computer and use it in GitHub Desktop.
Name Value
ID 11
Description Blumen düngen
Status Recurring
Recurrence 2mo
Mask +XXXXX+X++X+++X++++++XX+++++++
Entered 2015-06-29 13:07:06 (2.8y)
Waiting until 2015-06-28 00:00:00
Due 2015-07-05 00:00:00
Last modified 2017-11-18 09:52:31 (4mo)
Tags home
Virtual tags PARENT TAGGED UNBLOCKED
UUID 9d98efe1-677c-4c2f-8c74-97aeb27b7ef6
Urgency 14.8
tags 0.8 * 1 = 0.8
due 1 * 12 = 12
age 1 * 2 = 2
------
14.8
Date Modification
2015-11-23 23:14:47 Mask changed from '-' to '--'.
2015-11-23 23:14:47 Mask changed from '--' to '+-'.
2015-11-23 23:14:47 Mask changed from '+-' to '+X'.
2015-11-23 23:14:47 Mask changed from '+X' to '++'.
2015-11-23 23:14:47 Mask changed from '++' to '++-'.
2015-11-23 23:14:47 No changes made.
2015-11-23 23:14:47 Mask changed from '++-' to '++X'.
2015-11-23 23:14:47 Mask changed from '++X' to '++X-'.
2015-11-23 23:14:47 Mask changed from '++X-' to '+++-'.
2015-11-23 23:14:48 Mask changed from '+++-' to '++X-'.
2015-11-23 23:14:48 Mask changed from '++X-' to '++XX'.
2015-11-23 23:14:48 Mask changed from '++XX' to '++XX-'.
2015-11-23 23:14:48 Mask changed from '++XX-' to '++X+-'.
2015-11-23 23:14:48 Mask changed from '++X+-' to '+XXX-'.
Recur changed from 'monthly' to '1months'.
2015-11-23 23:14:48 Mask changed from '+XXX-' to '+XXX--'.
2015-11-23 23:14:48 Mask changed from '+XXX--' to '+XXXX-'.
2015-11-23 23:14:48 Mask changed from '+XXXX-' to '+XXXXX'.
2015-12-03 08:00:01 Mask changed from '+XXXXX' to '+XXXXX-'.
2015-12-04 20:24:09 Mask changed from '+XXXXX-' to '+XXXXXX'.
2016-01-01 16:37:44 Mask changed from '+XXXXXX' to '+XXXXXX-'.
2016-01-02 22:42:48 Mask changed from '+XXXXXX-' to '+XXXXX+-'.
2016-01-03 12:59:53 Mask changed from '+XXXXX+-' to '+XXXXX+X'.
2016-01-31 10:00:00 Mask changed from '+XXXXX+X' to '+XXXXX+X-'.
2016-03-01 19:55:56 Mask changed from '+XXXXX+X-' to '+XXXXX+X--'.
2016-03-03 21:00:01 Mask changed from '+XXXXX+X--' to '+XXXXX+X-X'.
2016-03-05 10:22:37 Mask changed from '+XXXXX+X-X' to '+XXXXX+X+X'.
2016-03-31 23:30:00 Mask changed from '+XXXXX+X+X' to '+XXXXX+X+X-'.
2016-04-02 17:00:01 Mask changed from '+XXXXX+X+X-' to '+XXXXX+X++-'.
2016-04-30 09:58:57 Mask changed from '+XXXXX+X++-' to '+XXXXX+X++--'.
2016-04-30 09:59:04 Mask changed from '+XXXXX+X++--' to '+XXXXX+X++X-'.
2016-05-30 09:00:01 Mask changed from '+XXXXX+X++X-' to '+XXXXX+X++X--'.
2016-06-05 14:00:00 Mask changed from '+XXXXX+X++X--' to '+XXXXX+X++X+-'.
2016-06-29 10:30:01 Mask changed from '+XXXXX+X++X+-' to '+XXXXX+X++X+--'.
2016-07-09 15:06:57 Mask changed from '+XXXXX+X++X+--' to '+XXXXX+X++X++-'.
2016-07-29 08:00:01 Mask changed from '+XXXXX+X++X++-' to '+XXXXX+X++X++--'.
2016-07-30 10:19:31 Mask changed from '+XXXXX+X++X++--' to '+XXXXX+X++X+++-'.
2016-08-28 09:30:01 Mask changed from '+XXXXX+X++X+++-' to '+XXXXX+X++X+++--'.
2016-08-28 18:09:21 Mask changed from '+XXXXX+X++X+++--' to '+XXXXX+X++X+++X-'.
2016-10-03 12:30:01 Mask changed from '+XXXXX+X++X+++X-' to '+XXXXX+X++X+++X--'.
2016-10-03 12:32:02 Mask changed from '+XXXXX+X++X+++X--' to '+XXXXX+X++X+++X+-'.
2016-10-29 09:52:28 Mask changed from '+XXXXX+X++X+++X+-' to '+XXXXX+X++X+++X+--'.
2016-10-29 12:38:36 Mask changed from '+XXXXX+X++X+++X+--' to '+XXXXX+X++X+++X++-'.
2016-11-26 11:55:48 Mask changed from '+XXXXX+X++X+++X++-' to '+XXXXX+X++X+++X++--'.
2016-11-26 11:58:11 Mask changed from '+XXXXX+X++X+++X++--' to '+XXXXX+X++X+++X+++-'.
2016-12-26 13:12:04 Mask changed from '+XXXXX+X++X+++X+++-' to '+XXXXX+X++X+++X+++--'.
2016-12-26 22:51:58 Mask changed from '+XXXXX+X++X+++X+++--' to '+XXXXX+X++X+++X++++-'.
2017-01-21 13:56:49 Mask changed from '+XXXXX+X++X+++X++++-' to '+XXXXX+X++X+++X+++++'.
2017-01-25 09:30:01 Mask changed from '+XXXXX+X++X+++X+++++' to '+XXXXX+X++X+++X+++++-'.
2017-02-24 08:00:00 Mask changed from '+XXXXX+X++X+++X+++++-' to '+XXXXX+X++X+++X+++++--'.
2017-03-18 17:27:04 Mask changed from '+XXXXX+X++X+++X+++++--' to '+XXXXX+X++X+++X++++++-'.
2017-03-26 11:00:02 Mask changed from '+XXXXX+X++X+++X++++++-' to '+XXXXX+X++X+++X++++++--'.
2017-03-26 11:14:24 Mask changed from '+XXXXX+X++X+++X++++++--' to '+XXXXX+X++X+++X++++++X-'.
2017-04-25 21:43:26 Mask changed from '+XXXXX+X++X+++X++++++X-' to '+XXXXX+X++X+++X++++++X--'.
2017-04-30 08:58:53 Mask changed from '+XXXXX+X++X+++X++++++X--' to '+XXXXX+X++X+++X++++++XX-'.
2017-05-25 13:30:02 Mask changed from '+XXXXX+X++X+++X++++++XX-' to '+XXXXX+X++X+++X++++++XX--'.
2017-06-04 18:48:57 Mask changed from '+XXXXX+X++X+++X++++++XX--' to '+XXXXX+X++X+++X++++++XX+-'.
2017-06-24 09:30:01 Mask changed from '+XXXXX+X++X+++X++++++XX+-' to '+XXXXX+X++X+++X++++++XX+--'.
2017-06-25 12:00:31 Mask changed from '+XXXXX+X++X+++X++++++XX+--' to '+XXXXX+X++X+++X++++++XX++-'.
2017-07-24 11:55:52 Mask changed from '+XXXXX+X++X+++X++++++XX++-' to '+XXXXX+X++X+++X++++++XX++--'.
2017-08-13 12:30:01 Mask changed from '+XXXXX+X++X+++X++++++XX++--' to '+XXXXX+X++X+++X++++++XX+++-'.
2017-08-20 14:30:00 Mask changed from '+XXXXX+X++X+++X++++++XX+++-' to '+XXXXX+X++X+++X++++++XX++++'.
2017-08-23 17:37:22 Mask changed from '+XXXXX+X++X+++X++++++XX++++' to '+XXXXX+X++X+++X++++++XX++++-'.
2017-09-07 17:30:03 Wait set to '2015-06-28 00:00:00'.
2017-09-22 19:00:01 Mask changed from '+XXXXX+X++X+++X++++++XX++++-' to '+XXXXX+X++X+++X++++++XX++++-W'.
2017-09-23 14:14:43 Mask changed from '+XXXXX+X++X+++X++++++XX++++-W' to '+XXXXX+X++X+++X++++++XX+++++W'.
2017-10-21 12:27:50 Mask changed from '+XXXXX+X++X+++X++++++XX+++++W' to '+XXXXX+X++X+++X++++++XX++++++'.
2017-10-22 10:00:01 Mask changed from '+XXXXX+X++X+++X++++++XX++++++' to '+XXXXX+X++X+++X++++++XX++++++W'.
2017-11-18 09:52:18 Mask changed from '+XXXXX+X++X+++X++++++XX++++++W' to '+XXXXX+X++X+++X++++++XX++++++-'.
2017-11-18 09:52:26 Recur changed from '1months' to '2mo'.
2017-11-18 09:52:31 Mask changed from '+XXXXX+X++X+++X++++++XX++++++-' to '+XXXXX+X++X+++X++++++XX+++++++'.
@pbeckingham
Copy link

The recurrent was changed (see line 92), which effectively should have halved the length of the mask value, but it was not changed. This means that there would be something like 16 additional child tasks that it would not generate until reality length caught up with the mask length.

The solution is to identify when the recurrent is being modified, and regenerate an appropriate mask.

@pbeckingham
Copy link

I updated in the wrong place. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment