the function "event:inMonth" that test if it is before/after the current month seems incorrect because it does not test the equality.