Remove CONFIG_TIME_EXTENDED conditioning

Remove CONFIG_TIME_EXTENDED related stuff since kernel remove this option
This commit is contained in:
Xiang Xiao 2020-01-23 13:33:47 +08:00 committed by Gregory Nutt
parent 285f7b4072
commit fd3775e068
2 changed files with 0 additions and 5 deletions

View File

@ -308,7 +308,6 @@ config THTTPD_TILDE_MAP2
config THTTPD_GENERATE_INDICES
bool "Generate name indices"
default n
select TIME_EXTENDED
---help---
config THTTPD_USE_URLPATTERN

View File

@ -110,11 +110,7 @@ static inline int date_month(FAR const char *abbrev)
#ifndef CONFIG_NSH_DISABLE_DATE
static inline int date_showtime(FAR struct nsh_vtbl_s *vtbl, FAR const char *name)
{
#if defined(CONFIG_LIBC_LOCALTIME) || defined(CONFIG_TIME_EXTENDED)
static const char format[] = "%a, %b %d %H:%M:%S %Y";
#else
static const char format[] = "%b %d %H:%M:%S %Y";
#endif
struct timespec ts;
struct tm tm;
char timbuf[MAX_TIME_STRING];