diff --git a/source/net/filebot/similarity/TimeStampMetric.java b/source/net/filebot/similarity/TimeStampMetric.java index 96c18eb7..30aa82b6 100644 --- a/source/net/filebot/similarity/TimeStampMetric.java +++ b/source/net/filebot/similarity/TimeStampMetric.java @@ -22,7 +22,7 @@ public class TimeStampMetric implements SimilarityMetric { if (t1 > 0 && t2 > 0) { float delta = Math.abs(t1 - t2); - return delta > epoch ? 1 : 1 - (delta / epoch); + return delta > epoch ? 0 : 1 - (delta / epoch); } return -1;