editing get_time_array feature