Re: Rounding

Splash Forums PrettyTime Users Rounding Re: Rounding

#20278

Actually, I just reviewed your test case and it looks like you have some things backwards:

final DateTime almostFourHoursAgo = now.minusHours(59).minusMinutes(3).minusSeconds(2);

Should be:

final DateTime almostFourHoursAgo = now.minusMinutes(59).minusHours(3).minusSeconds(2);