From: Holger Hans Peter Freyther Date: Tue, 11 Jul 2017 09:48:26 +0000 (+0200) Subject: app_playback.c: Use the timezonename parameter X-Git-Tag: 14.7.0-rc1~131^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=810ec2c73ff87a1e984a78518ac291ff87d79f31;p=thirdparty%2Fasterisk.git 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: I6afa98f9163190043244b9f3ba91eb1874d1b586 --- diff --git a/apps/app_playback.c b/apps/app_playback.c index 2875ec2b49..6564737c3f 100644 --- a/apps/app_playback.c +++ b/apps/app_playback.c @@ -324,7 +324,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,