Skip to content

Commit eb1c939

Browse files
committed
--within only worked with dateUpdated, fixes to work with date too.
1 parent 2104867 commit eb1c939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Importer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ class Importer {
321321
}
322322

323323
if(entry.date) {
324-
if(DateCompare.isTimestampWithinDuration(entry.dateUpdated.getTime(), options.within)) {
324+
if(DateCompare.isTimestampWithinDuration(entry.date.getTime(), options.within)) {
325325
return true;
326326
}
327327
}

0 commit comments

Comments
 (0)