diff --git a/src/main/java/com/spencerwi/hamcrestJDK8Time/matchers/IsWithin.java b/src/main/java/com/spencerwi/hamcrestJDK8Time/matchers/IsWithin.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/spencerwi/hamcrestJDK8Time/matchers/IsWithin.java
+++ b/src/main/java/com/spencerwi/hamcrestJDK8Time/matchers/IsWithin.java
@@ -22,9 +22,9 @@ public class IsWithin<T extends Temporal & Comparable<? super T>> extends TypeSa
         T startOfWindow = (T) other.minus(window, units);
         T endOfWindow = (T) other.plus(window, units);
         return (
-                (startOfWindow.compareTo(other) <= 0)
+                (startOfWindow.compareTo(item) <= 0)
                 &&
-                (endOfWindow.compareTo(other) >= 0)
+                (endOfWindow.compareTo(item) >= 0)
         );
     }
Update IsWithin.java

Nasty bug made the matcher always return true.