emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-evaluate-time-range
@ 2011-06-28 19:47 John J Foerch
  2011-06-28 22:57 ` org-evaluate-time-range Bernt Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: John J Foerch @ 2011-06-28 19:47 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I have a question about the use-case for org-evaluate-time-range,
because for what I would use it for, its behavior seems
counter-intuitive.  Consider a time range:

    <2011-08-12 Fri>--<2011-08-14 Sun>

Calling org-evaluate-time-range on this range reports 2 days, but for
situations when I would use time ranges, I would have expected an
_inclusive_ count of 3 days.  The span represented from a friday through
a sunday is indeed a span of 3 days.

Can anyone explain the logic behind the current behavior?  Thank you.

I'm using org version 6.33x.

-- 
John Foerch

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-28 22:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-28 19:47 org-evaluate-time-range John J Foerch
2011-06-28 22:57 ` org-evaluate-time-range Bernt Hansen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).