Simplify relative time logic