[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Table formula not returning an error
From: |
Lawrence Mitchell |
Subject: |
Re: [O] Table formula not returning an error |
Date: |
Fri, 07 Oct 2011 10:09:37 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) |
Sebastien Vauban wrote:
[...]
> But I'm surprised I did not see any error reported.
This is a feature of org-hh:mm-string-to-minutes:
| Convert a string H:MM to a number of minutes.
| If the string is just a number, interpret it as minutes.
| In fact, the first hh:mm or number in the string will be taken,
| there can be extra stuff in the string.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| If no number is found, the return value is 0.
It's arguable that this is the best choice, but it is one.
Lawrence
--
Lawrence Mitchell <address@hidden>