diff options
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, |