summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2017-07-11 11:48:26 +0200
committerJoshua Colp <jcolp@digium.com>2017-07-18 06:36:46 -0500
commit1c3e7df26e6d311b30ddd006bdbf2d90c968c829 (patch)
tree49e88dc9b592578b16b8afd461e799bff3a627ec /apps
parentf0558d58f0a3940b0b2d067ec8d85dc8bed1893a (diff)
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
Diffstat (limited to 'apps')
-rw-r--r--apps/app_playback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_playback.c b/apps/app_playback.c
index e5df79445..422dd8eff 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,