dc_datetime function documentation

Kristaps Dzonsons kristaps at bsd.lv
Thu Jan 12 01:50:57 PST 2017


Hi,

Enclosed is a patch that documents all of the dc_datetime functions.

The CAVEATS are important because calling gmtime et al from a library
might not be expected.  (They touch the zoneinfo files, which may not be
available on embedded or sandboxed systems.)

I also specifically note the differences to "struct tm" in terms of the
year and month field.

Best,

Kristaps
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dc_datetime.patch
Type: text/x-patch
Size: 8580 bytes
Desc: not available
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20170112/e3367944/attachment.bin>


More information about the devel mailing list