[libc][time] pre-support fully version timezone and daylight saving time

This commit is contained in:
Meco Man 2023-08-12 13:50:08 -04:00
parent 23eb6319e2
commit 8061503171
1 changed files with 6 additions and 0 deletions

View File

@ -1,8 +1,14 @@
menu "ISO-ANSI C layer" menu "ISO-ANSI C layer"
menu "Timezone and Daylight Saving Time" menu "Timezone and Daylight Saving Time"
config RT_LIBC_USING_FULL_TZ_DST
bool "Enable fully version timezone and daylight saving time with database"
select PKG_USING_TZ_DATABASE # select timezone database software package
default n
config RT_LIBC_USING_LIGHT_TZ_DST config RT_LIBC_USING_LIGHT_TZ_DST
bool "Enable lightweight timezone and daylight saving time" bool "Enable lightweight timezone and daylight saving time"
depends on !RT_LIBC_USING_FULL_TZ_DST
default y default y
if RT_LIBC_USING_LIGHT_TZ_DST if RT_LIBC_USING_LIGHT_TZ_DST