diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2017-07-11 11:48:26 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2017-07-12 23:22:56 +0200 |
commit | b54eb167b4062ab73f4fd2dfd29dbc75a4ec9ed5 (patch) | |
tree | 06b97c84a146fa35381b7ab5e0fdd59886d26dd8 /apps/app_playback.c | |
parent | 27aeca3594ae6618ffcafc8fe764fb0c9507ec14 (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: I63106b8db10426d417d7275f22554a616e92fae4
Diffstat (limited to 'apps/app_playback.c')
-rw-r--r-- | apps/app_playback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_playback.c b/apps/app_playback.c index 35900e8f7..7c895e362 100644 --- a/apps/app_playback.c +++ b/apps/app_playback.c @@ -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, |