https://bugs.kde.org/show_bug.cgi?id=445824

            Bug ID: 445824
           Summary: Combine same day ranges
           Product: KOpeningHours
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: vkra...@kde.org
          Reporter: cal...@outlook.com
  Target Milestone: ---

Consider this actual value (multiple roads in Los Angeles):
Mo-Fr 05:00-09:00; Mo-Fr 16:00-19:00; Mo-Fr 00:00-05:00; Mo-Fr 09:00-16:00;
Mo-Fr 19:00-00:00; Sa-Su

For insane values like these, it would be helpful if the ranges were (1) sorted
and (2) combined:

(1) sorted
Mo-Fr 00:00-05:00,05:00-09:00,09:00-16:00,16:00-19:00,19:00-00:00; Sa-Su

(2.a) combined:
Mo-Fr 00:00-24:00; Sa-Su

Note, I see a lot of strange examples with overlapping time ranges, suggesting
editor may have missed day specifier.  Do not combine times automatically if
there is an overlap (too suspicious), for example: 10:00-13:00,12:00-15:00

(2.b) combined as a special case:
24/7


This is nice-to-have and probably hard to implement - setting a lower severity.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to