diff src/http/ngx_http_parse_time.c @ 29:6a0b3d6e9c13

nginx-0.0.1-2002-12-17-18:48:27 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 17 Dec 2002 15:48:27 +0000
parents 53cb81681040
children 0e81ac0bb3e2
line wrap: on
line diff
--- 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, 
        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,