Skip to content

Commit

Permalink
fix(plugins/dates): stop tagging of all trailing conjunctions
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Aug 19, 2024
1 parent 8565e74 commit 9943924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/dates/src/compute/matches.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let matches = [
//for 4 months
{ match: 'for #Value #Duration', tag: 'Date', reason: 'for-x-duration' },
//two days before
{ match: '#Value #Duration #Conjunction', tag: 'Date', reason: 'val-duration-conjunction' },
{ match: '#Value #Duration (before|ago|hence|back)', tag: 'Date', reason: 'val-duration-past' },
//for four days
{ match: `${preps}? #Value #Duration`, tag: 'Date', reason: 'value-duration' },
// 6-8 months
Expand Down

0 comments on commit 9943924

Please sign in to comment.