Local time support is now EXPERIMENTAL
This commit is contained in:
parent
ded44679e9
commit
237e1ed407
11
libc/Kconfig
11
libc/Kconfig
@ -265,10 +265,19 @@ config ARCH_LOWPUTC
|
||||
config LIBC_LOCALTIME
|
||||
bool "localtime API call support"
|
||||
default "n"
|
||||
depends on !DISABLE_ENVIRON
|
||||
depends on !DISABLE_ENVIRON && EXPERIMENTAL
|
||||
---help---
|
||||
localtime API call support
|
||||
|
||||
Logic currently depends on file system support with, at a minimum, these
|
||||
files in the zoneinfo directory: GMT and posixrules.
|
||||
|
||||
There is also 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.
|
||||
|
||||
if LIBC_LOCALTIME
|
||||
|
||||
config LIBC_TZ_MAX_TIMES
|
||||
|
Loading…
Reference in New Issue
Block a user