Match time ranges in UI