Skip to content
Snippets Groups Projects
Commit b54eb167 authored by Holger Hans Peter Freyther's avatar Holger Hans Peter Freyther
Browse files

app_playback.c: Use the timezonename parameter

In say_date_generic the timezonename parameter is passed but never
used. Fix it by passing it to the ast_localtime function.

ASTERISK-27124

Change-Id: I63106b8db10426d417d7275f22554a616e92fae4
parent 27aeca35
No related branches found
No related tags found
No related merge requests found
......@@ -322,7 +322,7 @@ static int say_date_generic(struct ast_channel *chan, time_t t,
if (format == NULL)
format = "";
ast_localtime(&when, &tm, NULL);
ast_localtime(&when, &tm, timezonename);
snprintf(buf, sizeof(buf), "%s:%s:%04d%02d%02d%02d%02d.%02d-%d-%3d",
prefix,
format,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment