fn initial_time_selection( time_ranges_ui: &TimeRangesUi, time_type: TimeType, ) -> Option<ResolvedTimeRangeF>