Add support for seconds and minutes in relative timestamps

cc @charlax