compat: add time_to_tm