John J Foerch <jjfoe...@earthlink.net> writes:

> 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.

Timestamps with no time are considered to be at midnight (00:00)

So Midnight Friday to Midnight Sunday is 48 hours.

-Bernt

-- 
Bernt

Reply via email to