diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-11-13 06:14:05 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-11-13 06:14:05 +0000 |
commit | 562e53ea7d2ec904abba1cf9a9766fe3a91574e8 (patch) | |
tree | 0ed6e4198fa7ac67ab299201dc40631c5fe145f4 /src/http/ngx_http_get_time.c | |
parent | 43beb6c40a44f94208e9ad1355758e58733bc1c2 (diff) | |
download | nginx-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.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); -} |