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

            Bug ID: 465674
           Summary: Do not require a leading "0" for time of the day
    Classification: Applications
           Product: kalendar
           Version: 22.12.2
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: claudio.cam...@kde.org
          Reporter: sephiroth...@hotmail.it
                CC: c...@carlschwan.eu
  Target Milestone: ---

SUMMARY
When creating or editing an event, Kalendar currently requires to input the
time in full four-digit format. This means that "8" or "5" are not accepted as
valid input in the hour section, therefore requiring the user to input a
leading 0 ("08", "05"). There is no indication whatsoever that this is the
issue, though, so the user just finds themselves with the input being reset
without any explanation. Given that it is quite common to indicate time without
the leading 0, it would be preferable (if not even sensible) to treat
single-digit input in the hour section as having a leading 0 by default.

STEPS TO REPRODUCE
1. Create or edit an event.
2. In the time section, input the hour as a single digit.

OBSERVED RESULT
The input is rejected.

EXPECTED RESULT
The input is automatically adjusted to Kalendar's internal format with a
leading 0.

SOFTWARE/OS VERSIONS
Linux: KDE neon
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

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

Reply via email to