Mercurial > hg > nginx-quic
comparison src/core/ngx_times.c @ 7102:63699a40e2ff
Fixed reference to time parsing code after 8b6fa4842133.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 13 Sep 2017 15:51:58 +0300 |
parents | 40bea39731d7 |
children | 644d0457782a |
comparison
equal
deleted
inserted
replaced
7101:b38a8f0ca4a2 | 7102:63699a40e2ff |
---|---|
318 min = n / 60; | 318 min = n / 60; |
319 sec = n % 60; | 319 sec = n % 60; |
320 | 320 |
321 /* | 321 /* |
322 * the algorithm based on Gauss' formula, | 322 * the algorithm based on Gauss' formula, |
323 * see src/http/ngx_http_parse_time.c | 323 * see src/core/ngx_parse_time.c |
324 */ | 324 */ |
325 | 325 |
326 /* days since March 1, 1 BC */ | 326 /* days since March 1, 1 BC */ |
327 days = days - (31 + 28) + 719527; | 327 days = days - (31 + 28) + 719527; |
328 | 328 |