abhidsm/time_diff — Issue #2: Time.diff gives wrong answer for February
Author: alikhajeh1
Created: 2012-02-02 20:33:42+00:00
State: open

> Time.now
=> 2012-02-02 20:32:12 +0000

> Time.diff(Time.now+1.month, Time.now)
=> {:year=>0, :month=>0, :week=>4, :day=>1, :hour=>0, :minute=>0, :second=>0, :diff=>"4 weeks, 1 day and 00:00:00"}

So in the current month (February), the difference between now and 1 month from now should be 1 month, not 4 weeks and 1 day.

Any ideas how to fix this?