diff options
Diffstat (limited to 'src/http/ngx_http_get_time.c')
-rw-r--r-- | src/http/ngx_http_get_time.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/http/ngx_http_get_time.c b/src/http/ngx_http_get_time.c deleted file mode 100644 index 971914e4d..000000000 --- a/src/http/ngx_http_get_time.c +++ /dev/null @@ -1,12 +0,0 @@ - -#include <ngx_config.h> -#include <ngx_core.h> - - -size_t ngx_http_get_time(char *buf, time_t t) -{ - struct tm *tp; - - tp = gmtime(&t); - return strftime(buf, 30, "%a, %d %b %Y %H:%M:%S GMT", tp); -} |