Status on timegm()

Paul Koning paulkoning@comcast.net
Wed Oct 2 14:03:55 GMT 2024


I didn't' see that discussion.  But if you need an unencumbered set of time conversion functions, look in the "tzcode" package that is part of the tzdata project; with listed exceptions that entire package is in the public domain.  In particular, timegm() can be found in file localtime.c in that package, and the header of that file confirms it is in the public domain.  (FWIW, the exceptions are stated to be covered by the BSD 3-clause license.)

	paul

> On Oct 1, 2024, at 8:53 PM, Pedro Henrique <phd.pc@hotmail.com> wrote:
> 
> Seems Brian Inglis expressed concerns about licensing issues and R. Diez gave up on it, adding it to picolib instead.
> Is there an actual blocker on this?



More information about the Newlib mailing list