[cabfpub] Durations

Gervase Markham gerv at mozilla.org
Sun Feb 5 02:25:37 MST 2017


On 04/02/17 22:16, Kirk Hall via Public wrote:
> Peter - don't you think "13 months" already encompasses all cases
> like what you show below (start date and end date 13 months apart
> based on the dates themselves, even if that means the number of days
> varies a little), and will encompass all situations, like when the
> 13th month has 28, 29, 30 or 31 days?

We want a definition which is both easy to explain to humans, and easy
for computers to verify. Subtracting two dates to get a single number of
days between is an easy thing for a computer to do (with the appropriate
library), and comparing that to a defined number is also simple.

So a definition like "398 days (just over 13 months)" fits both criteria
IMO.

Gerv


More information about the Public mailing list