Compare two dates. Receives two dates and compares the `t1` against `t2` and returns `:lt`, `:eq` or `:gt`.