Multi-temporal generalization of the Tangherlini solution