rule for date time using time-diff gem