diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-03-23 11:52:21 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-04-02 01:16:08 -0400 |
commit | a6d1dccad37f3d5f116bc209a9eb679286274c7b (patch) | |
tree | 53a252aa0d87f75a91514d20e1aa4723e8374f5a /src/http-header-glue.c | |
parent | f711207d5ca9131b077a80b4d54bf2299bd6095c (diff) | |
download | lighttpd-git-a6d1dccad37f3d5f116bc209a9eb679286274c7b.tar.gz |
[multiple] strftime %F and %T
strftime %F for %Y-%m-%d, and %T for %H:%M:%S
Diffstat (limited to 'src/http-header-glue.c')
-rw-r--r-- | src/http-header-glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http-header-glue.c b/src/http-header-glue.c index 64c68c6c..7d9afcd2 100644 --- a/src/http-header-glue.c +++ b/src/http-header-glue.c @@ -140,7 +140,7 @@ struct mtime_cache_type { }; static struct mtime_cache_type mtime_cache[MTIME_CACHE_MAX]; static char mtime_cache_str[MTIME_CACHE_MAX][30]; -/* 30-chars for "%a, %d %b %Y %H:%M:%S GMT" */ +/* 30-chars for "%a, %d %b %Y %T GMT" */ void strftime_cache_reset(void) { for (int i = 0; i < MTIME_CACHE_MAX; ++i) { |