aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_get_time.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-13 06:14:05 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-13 06:14:05 +0000
commit562e53ea7d2ec904abba1cf9a9766fe3a91574e8 (patch)
tree0ed6e4198fa7ac67ab299201dc40631c5fe145f4 /src/http/ngx_http_get_time.c
parent43beb6c40a44f94208e9ad1355758e58733bc1c2 (diff)
downloadnginx-562e53ea7d2ec904abba1cf9a9766fe3a91574e8.tar.gz
nginx-562e53ea7d2ec904abba1cf9a9766fe3a91574e8.zip
nginx-0.0.1-2003-11-13-09:14:05 import
Diffstat (limited to 'src/http/ngx_http_get_time.c')
-rw-r--r--src/http/ngx_http_get_time.c12
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);
-}