Source-Changes-D archive

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

Re: CVS commit: src/lib/libc/time



Robert Elz <kre%munnari.OZ.AU@localhost> wrote:
>     Date:        Fri, 21 Oct 2022 11:54:08 -0400
>     From:        Jan Schaumann <jschauma%netmeister.org@localhost>
>     Message-ID:  <Y1LAoGSi+OnKZcI1%netmeister.org@localhost>
> 
>   | Right, but all that strikes me as too much to put into
>   | the manual page here.
> 
> I agree, which is why I wondered if we should be giving any
> details about how it is done at all.

I believe that it's useful for people to know that
values outside the normal ranges are normalized, as
well as what that might look like.

That helps a lot when trying to determine _why_ the
output of mktime(3) with a tm_sec = 180 yields no
error and a value of tm_min += 3.  I don't think many
people would want to go and dig up the sources to make
sense of this.

Noting that values may cascade is useful (because
that, too, is not obvious), but seems to me the limit
of detail desired here, while still being useful.

-Jan


Home | Main Index | Thread Index | Old Index