From mboxrd@z Thu Jan 1 00:00:00 1970 From: John J Foerch Subject: org-evaluate-time-range Date: Tue, 28 Jun 2011 15:47:56 -0400 Message-ID: <87k4c5agb7.fsf@hecubus.retroj.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbeGa-0002Cy-2H for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 15:48:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbeGX-0007ym-Uq for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 15:48:11 -0400 Received: from lo.gmane.org ([80.91.229.12]:39989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbeGX-0007yZ-He for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 15:48:09 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QbeGV-0006Vt-Iu for emacs-orgmode@gnu.org; Tue, 28 Jun 2011 21:48:07 +0200 Received: from 88.sub-75-198-21.myvzw.com ([75.198.21.88]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jun 2011 21:48:07 +0200 Received: from jjfoerch by 88.sub-75-198-21.myvzw.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jun 2011 21:48:07 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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