This is an automated email from the ASF dual-hosted git repository. gnutt pushed a commit to branch pr29 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/pr29 by this push: new cf6f30e Remove TIME_EXTENDED related stuff since kernel remove this option cf6f30e is described below commit cf6f30eb9b0d089a7981ad380ca16b9003f9c7b6 Author: Xiang Xiao <xiaoxi...@xiaomi.com> AuthorDate: Thu Jan 23 13:33:47 2020 +0800 Remove TIME_EXTENDED related stuff since kernel remove this option Change-Id: I409c22eb7f6cf5717d51b2d6fc1a532ae69bb9f0 Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com> --- netutils/thttpd/Kconfig | 1 - nshlib/nsh_timcmds.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/netutils/thttpd/Kconfig b/netutils/thttpd/Kconfig index 0b36c39..c714f0b 100644 --- a/netutils/thttpd/Kconfig +++ b/netutils/thttpd/Kconfig @@ -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 diff --git a/nshlib/nsh_timcmds.c b/nshlib/nsh_timcmds.c index bbfb713..899fbc0 100644 --- a/nshlib/nsh_timcmds.c +++ b/nshlib/nsh_timcmds.c @@ -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];