diff options
author | Igor Sysoev <igor@sysoev.ru> | 2002-12-17 15:48:27 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2002-12-17 15:48:27 +0000 |
commit | 5518aba253096193df31b0f64e7461d1ac224dfd (patch) | |
tree | e06f1dc62410b999ab561ca07742af1fef34dc79 /src/http/ngx_http_parse_time.c | |
parent | 5eef618ed671c55bc1244652cb49afef224c833c (diff) | |
download | nginx-5518aba253096193df31b0f64e7461d1ac224dfd.tar.gz nginx-5518aba253096193df31b0f64e7461d1ac224dfd.zip |
nginx-0.0.1-2002-12-17-18:48:27 import
Diffstat (limited to 'src/http/ngx_http_parse_time.c')
-rw-r--r-- | src/http/ngx_http_parse_time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_parse_time.c b/src/http/ngx_http_parse_time.c index 199a7f9f0..9c606c26e 100644 --- a/src/http/ngx_http_parse_time.c +++ b/src/http/ngx_http_parse_time.c @@ -207,7 +207,7 @@ time_t ngx_http_parse_time(char *value, size_t len) month += 12; year -= 1; } - /* Gauss's formula for days from 1 March 1 BC */ + /* Gauss's formula for Grigorian days from 1 March 1 BC */ return (365 * year + year / 4 - year / 100 + year / 400 + 367 * month / 12 + day - 31 /* 719527 days are between 1 March 1 BC and 1 March 1970, |