Skip to content

Commit

Permalink
--within only worked with dateUpdated, fixes to work with date too.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Feb 5, 2025
1 parent 2104867 commit eb1c939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class Importer {
}

if(entry.date) {
if(DateCompare.isTimestampWithinDuration(entry.dateUpdated.getTime(), options.within)) {
if(DateCompare.isTimestampWithinDuration(entry.date.getTime(), options.within)) {
return true;
}
}
Expand Down

0 comments on commit eb1c939

Please sign in to comment.