New option `org-clock-rounding-minutes'
commitb5f93f8fe3161a333a7b1f86c40af2900f35c797
authorBastien Guerry <bzg@altern.org>
Sat, 29 Dec 2012 17:45:07 +0000 (29 18:45 +0100)
committerBastien Guerry <bzg@altern.org>
Sat, 29 Dec 2012 17:45:07 +0000 (29 18:45 +0100)
treecccf4f4f5ca14cd3ff1e7f79d88e87d65b6a9f23
parenta77442b37ba403fa131e877c7c8dc5167406061a
New option `org-clock-rounding-minutes'

* org-clock.el (org-clock-rounding-minutes): New option to
round the time by N minutes in the past when clocking in or out.
(org-clock-in, org-clock-in-last, org-clock-out): Use the new
option.

* org.el (org-current-time): New optional parameter
`rounding-minutes' to override the use of
`org-time-stamp-rounding-minutes' for rounding.

Thanks to Kevin Buchs for a preliminary patch for this feature.
lisp/org-clock.el
lisp/org.el