commit | 5f80078c675bc344d12a6a64d97ecafb64de224b | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Mon Dec 08 20:48:12 2003 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Mon Dec 08 20:48:12 2003 +0000 |
tree | e4ff5330121ef71ffe558ccaa9210218802ff537 | |
parent | 62260f2a158e27e5f6b1689e10dc25ea3c617473 [diff] [blame] |
nginx-0.0.1-2003-12-08-23:48:12 import
diff --git a/src/core/ngx_times.c b/src/core/ngx_times.c index a1ffdce..bc0cb16 100644 --- a/src/core/ngx_times.c +++ b/src/core/ngx_times.c
@@ -116,11 +116,11 @@ t %= 86400; hour = t / 3600; t %= 3600; - min = t / 60; + min = t / 60; sec = t % 60; /* the algorithm based on Gauss's formula */ - + days = days - (31 + 28) + 719527; year = days * 400 / (365 * 400 + 100 - 4 + 1);