From 5eef618ed671c55bc1244652cb49afef224c833c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 15 Dec 2002 21:08:04 +0000 Subject: nginx-0.0.1-2002-12-16-00:08:04 import --- src/os/unix/ngx_time.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/os/unix/ngx_time.c') diff --git a/src/os/unix/ngx_time.c b/src/os/unix/ngx_time.c index 5dfcb63f2..26ef6462d 100644 --- a/src/os/unix/ngx_time.c +++ b/src/os/unix/ngx_time.c @@ -6,6 +6,8 @@ void ngx_localtime(ngx_tm_t *tm) { time_t clock = time(NULL); localtime_r(&clock, tm); + tm->ngx_tm_mon++; + tm->ngx_tm_year += 1900; } u_int ngx_msec(void) -- cgit v1.2.3