[Korganizer-devel] [Bug 164206] KOrganizer should round to the nearest 5 minutes, (or custom unit) instead of nearest 15 minutes

Bryan BryanFRitt at HotMail.com
Mon Jun 16 12:06:59 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=164206         




------- Additional Comments From BryanFRitt HotMail com  2008-06-16 12:06 -------
p.s.

   1 *  1 * day =
1440 *  1 * minute =
 720 *  2 * minute =
 480 *  3 * minute =
 360 *  4 * minute =
 288 *  5 * minute =
 240 *  6 * minute =
 144 * 10 * minute =
 120 * 12 * minute =
  96 * 15 * minute =
  48 * 30 * minute =
  24 * 60 * minute =
  24 *  1 * hour =
   1 *  1 * day...

and most desktop screens resolution are now of days are from 800x600 to 2048x1536, which gives plenty of room 5 minute intervals

and another weird idea to consider would be sub dividing each row up into individual minutes the in the perpendicular direction, but I betting it wouldn't be worth it.
-----------
| | | | | |
-----------
| | | | | |
-----------
| | | | | |
-----------
| | | | | |
-----------

and

1440 = 2^5 * 3^2 * 5^1
 720 = 2^4 * 3^2 * 5^1
 480 = 2^5 * 3^1 * 5^1
 360 = 2^3 * 3^2 * 5^1
 288 = 2^5 * 3^1 * 5^0
 240 = 2^4 * 3^1 * 5^1
 144 = 2^4 * 3^2 * 5^0
 120 = 2^3 * 3^1 * 5^1
  96 = 2^5 * 3^1 * 5^0
  48 = 2^4 * 3^1 * 5^0
  24 = 2^3 * 3^1 * 5^0
   1 = 2^0 * 3^0 * 5^0

   4 = 2 * 2
   6 = 2 * 3
  10 = 2 * 5
  12 = 2 * 2 * 3
  15 = 3 * 5
  30 = 2 * 3 * 5
  60 = 2 * 2 * 3 * 5

not quite sure why I did all this math...


More information about the Korganizer-devel mailing list