[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calc; Cannot add time units to date
From: |
Robert Pluim |
Subject: |
Re: Calc; Cannot add time units to date |
Date: |
Fri, 23 Mar 2018 09:32:42 +0100 |
Allen Li <address@hidden> writes:
> 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.)
The way I read it, hr and min are units, and 't N' produces a
date. The documented way to add a time to a date is with '1h', which
works fine.
Robert