From 8061503171670b98516d1c565b715a825026e6c7 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sat, 12 Aug 2023 13:50:08 -0400 Subject: [PATCH] [libc][time] pre-support fully version timezone and daylight saving time --- components/libc/compilers/common/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/libc/compilers/common/Kconfig b/components/libc/compilers/common/Kconfig index 164c46acd7..dad2e2e2ff 100644 --- a/components/libc/compilers/common/Kconfig +++ b/components/libc/compilers/common/Kconfig @@ -1,8 +1,14 @@ menu "ISO-ANSI C layer" 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 bool "Enable lightweight timezone and daylight saving time" + depends on !RT_LIBC_USING_FULL_TZ_DST default y if RT_LIBC_USING_LIGHT_TZ_DST