diff options
-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 |