diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-12-03 11:45:26 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-12-03 11:45:26 +0000 |
commit | 407408b1691a665f1432a13c89b9abd7b55feb6b (patch) | |
tree | abd859572c3f17822f928b4c20c7e751554053e9 | |
parent | d1b4f36670725a09a633b887f586730d5f167db1 (diff) |
space
-rwxr-xr-x | tw_hooks/on-add_scheduled_work_task.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tw_hooks/on-add_scheduled_work_task.pl b/tw_hooks/on-add_scheduled_work_task.pl index 4db2812..1c837b2 100755 --- a/tw_hooks/on-add_scheduled_work_task.pl +++ b/tw_hooks/on-add_scheduled_work_task.pl @@ -34,6 +34,7 @@ my $decoded_task = decode_json $added_task; my $original_description = ${$decoded_task}{description}; my $tdelta; my $trepeat; + if (($original_description =~ m/$token_regexes{tdelta}/g)) { $tdelta = "+$1"; $original_description =~ s/$token_regexes{tdelta}//g; # remove the delta time token |