Mercurial > hg > nginx
comparison src/core/ngx_times.c @ 180:2d143372a1ee
nginx-0.0.1-2003-11-12-01:16:11 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 11 Nov 2003 22:16:11 +0000 |
parents | a8ff48d26cca |
children | 811bdd2af794 |
comparison
equal
deleted
inserted
replaced
179:9f3a78b06c48 | 180:2d143372a1ee |
---|---|
16 { | 16 { |
17 return ngx_cached_time; | 17 return ngx_cached_time; |
18 } | 18 } |
19 | 19 |
20 | 20 |
21 /* TODO: remove strftime() */ | 21 /* TODO: |
22 * cache ngx_tm_t | |
23 * write own gmtime() | |
24 * remove strftime() | |
25 * we can remove localtime_r | |
26 */ | |
22 | 27 |
23 void ngx_time_update() | 28 void ngx_time_update() |
24 { | 29 { |
25 ngx_tm_t *tp, tm; | 30 ngx_tm_t *tp, tm; |
26 static char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", | 31 static char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", |