rewritten time_uri to be more idiomatic go