Update comments and README

This commit is contained in:
Gregory Nutt 2015-04-15 16:25:38 -06:00
parent 0893a37b2b
commit 823889b214

View File

@ -275,7 +275,9 @@ config LIBC_LOCALTIME
environment variable TZ must be set to the name of that timezone file environment variable TZ must be set to the name of that timezone file
when tzset() is called. when tzset() is called.
See https://www.iana.org/time-zones See https://www.iana.org/time-zones . See also apps/system/zoneinfo
which provides a framework for incorporating the TZ database into a
NuttX build.
if LIBC_LOCALTIME if LIBC_LOCALTIME
@ -286,10 +288,10 @@ config LIBC_TZ_MAX_TIMES
Timezone files with more than this number of times will not be usedi Timezone files with more than this number of times will not be usedi
(tmecnt). (tmecnt).
Warning: Some files in IANA TZ database include many more times than Warning: Some files in IANA TZ database include many times. The current
this. The current posixrules file, for example, has timecnt = 236. posixrules file, for example, has timecnt = 236. The value of
The value of TX_MAX_ITMES in the tzfile.h header file on my Linux TX_MAX_ITMES in the tzfile.h header file on my Linux system is 370, the
system is 370. You may want to reduce this value for a smaller default used here. You may want to reduce this value for a smaller
footprint. footprint.
config LIBC_TZ_MAX_TYPES config LIBC_TZ_MAX_TYPES