Mercurial > hg > nginx
changeset 1628:8d3d224cae20
style and grammar fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 09 Nov 2007 13:12:25 +0000 |
parents | bf5521329069 |
children | 12a656452ad1 |
files | src/http/ngx_http_parse_time.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_parse_time.c Thu Nov 08 15:21:54 2007 +0000 +++ b/src/http/ngx_http_parse_time.c Fri Nov 09 13:12:25 2007 +0000 @@ -11,7 +11,8 @@ static int mday[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; -time_t ngx_http_parse_time(u_char *value, size_t len) +time_t +ngx_http_parse_time(u_char *value, size_t len) { u_char *p, *end; int day, month, year, hour, min, sec; @@ -247,7 +248,7 @@ year -= 1; } - /* Gauss's formula for Grigorian days from 1 March 1 BC */ + /* Gauss's formula for Grigorian days from March 1, 1 BC */ return (365 * year + year / 4 - year / 100 + year / 400 + 367 * month / 12 - 31