[Korganizer-devel] [Bug 85349] numbers for start/end in edit-event-dialog interpreted as 0:xx

Dotan Cohen kde-2 at dotancohen.com
Fri Mar 6 14:40:28 CET 2009


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





--- Comment #6 from Dotan Cohen <kde-2 dotancohen com>  2009-03-06 14:40:25 ---
> Now how would you
> then interpret 0012?

I would interpret "0012" as 00:12, distinct from "12" which would be 12:00. I
understand that there is a technical difficulty of distinguishing 0012 from 12
however the user should not be concerned with such technical difficulties. You
could treat the input field as text instead of as an integer, and deal with it
that way. As a user, that technical detail does not concern me.

But really, how often does one make an appointment for the hours 0:00 - 0:59
anyway? While it technically should be possible, it is obvious that it is far
less common to make appointments for those hours than it does for standard
waking and business hours. Therefore the default behaviour should be to assume
that "12" would be "1200". One can still enter military time if he likes, and
"12" is _not_ military time for either "1200" or for "0012". Just check if the
input is less than 100, if it is, then multiply by 100. The rare occasion in
which someone needs to make an appointment at the hours 00:01 - 00:59 can be
dealt with by actually typing 00:12 with a colon.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Korganizer-devel mailing list