emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calc; Cannot add time units to date


From: Allen Li
Subject: Re: Calc; Cannot add time units to date
Date: Thu, 22 Mar 2018 13:47:43 -0700

That's because hour is not a time unit.  hr is a time unit:

1.5 hr + 0.5 hr = 2. hr
1.5 hr + 30 min = 2. hr

(You need to press u s to simplify the units for the second example,
but this does nothing for the date arithmetic that is the subject of
this bug report.)

On Thu, Mar 22, 2018 at 1:16 PM, Noam Postavsky <address@hidden> wrote:
> On 22 March 2018 at 13:38, Allen Li <address@hidden> wrote:
>> On Thu, Mar 22, 2018 at 2:36 AM, Robert Pluim <address@hidden> wrote:
>>>
>>> Hmm, Iʼm not convinced thatʼs meant to work. Could you point me at a
>>> section of the Calc manual that describes that?
>>
>> It's not in the manual, but I expected that it would work.  Is it
>> unreasonable to expect to be able to add time units to dates?
>
> I think the point is that 1.5hr is not a time unit from Calc's point of view.
>
> 1.5hr + 1.5hour doesn't add together either.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]