Skip to content

Commit

Permalink
Merge pull request #1140 from Fdawgs/fix/val-duration
Browse files Browse the repository at this point in the history
fix(plugins/dates): stop tagging of all trailing conjunctions
  • Loading branch information
spencermountain authored Aug 19, 2024
2 parents c764b72 + 9943924 commit 6792363
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 6792363

Please sign in to comment.