Mercurial > hg > nginx
comparison src/core/ngx_times.c @ 4517:50143b8fb95f stable-1.0
Merge of r4500: fixed spelling in single-line comments.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 05 Mar 2012 13:26:40 +0000 |
parents | 4919fb357a5d |
children | 67653855682e |
comparison
equal
deleted
inserted
replaced
4516:b927410d9638 | 4517:50143b8fb95f |
---|---|
285 | 285 |
286 n = (ngx_uint_t) t; | 286 n = (ngx_uint_t) t; |
287 | 287 |
288 days = n / 86400; | 288 days = n / 86400; |
289 | 289 |
290 /* Jaunary 1, 1970 was Thursday */ | 290 /* January 1, 1970 was Thursday */ |
291 | 291 |
292 wday = (4 + days) % 7; | 292 wday = (4 + days) % 7; |
293 | 293 |
294 n %= 86400; | 294 n %= 86400; |
295 hour = n / 3600; | 295 hour = n / 3600; |