2023-08-12 12:44:36 +08:00
|
|
|
menu "ISO-ANSI C layer"
|
|
|
|
|
|
|
|
menu "Timezone and Daylight Saving Time"
|
2023-08-13 01:50:08 +08:00
|
|
|
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
|
|
|
|
|
2023-08-12 12:44:36 +08:00
|
|
|
config RT_LIBC_USING_LIGHT_TZ_DST
|
|
|
|
bool "Enable lightweight timezone and daylight saving time"
|
2023-08-13 01:50:08 +08:00
|
|
|
depends on !RT_LIBC_USING_FULL_TZ_DST
|
2023-08-12 12:44:36 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
if RT_LIBC_USING_LIGHT_TZ_DST
|
|
|
|
config RT_LIBC_TZ_DEFAULT_HOUR
|
|
|
|
int "Set the default local timezone (hour)"
|
|
|
|
range -12 12
|
|
|
|
default 8
|
|
|
|
|
|
|
|
config RT_LIBC_TZ_DEFAULT_MIN
|
|
|
|
int "Set the default local timezone (minute)"
|
|
|
|
range -59 59
|
|
|
|
default 0
|
|
|
|
|
|
|
|
config RT_LIBC_TZ_DEFAULT_SEC
|
|
|
|
int "Set the default local timezone (second)"
|
|
|
|
range -59 59
|
|
|
|
default 0
|
|
|
|
endif
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|