diff --git a/libc/Kconfig b/libc/Kconfig index 2ee379ecf36..0a7a732ca44 100644 --- a/libc/Kconfig +++ b/libc/Kconfig @@ -270,13 +270,16 @@ config LIBC_LOCALTIME localtime API call support Logic currently depends on file system support with, at a minimum, these - files in the zoneinfo directory: GMT and posixrules. + files in the zoneinfo directory: GMT and posixrules. An additional + timezone file is required for any another time zone and the environment + variable TZ must be set to the name of that file. - There is also an issue with mktime being called very early in - initialization by the OS before there are any file systems available. + There is an issue with mktime being called very early in initialization + by the OS before there are any file systems available. - And finally, the times presented by the NSH date command are wrong with - this logic is enabled. + And finally, the times presented by the NSH date command are wrong when + this logic is enabled. I assume that this is due to some inconsistency + between the NuttX timing logic and the localtime timing logic. if LIBC_LOCALTIME