diff options
Diffstat (limited to 'cdr/cdr_csv.c')
-rw-r--r-- | cdr/cdr_csv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_csv.c b/cdr/cdr_csv.c index 350620315..5475398ac 100644 --- a/cdr/cdr_csv.c +++ b/cdr/cdr_csv.c @@ -199,7 +199,7 @@ static int append_date(char *buf, struct timeval tv, size_t bufsize) if (usegmtime) { gmtime_r(&t,&tm); } else { - localtime_r(&t,&tm); + ast_localtime(&t, &tm, NULL); } strftime(tmp, sizeof(tmp), DATE_FORMAT, &tm); return append_string(buf, tmp, bufsize); |