[asterisk-commits] app playback.c: Use the timezonename parameter (asterisk[13])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 19 09:34:08 CDT 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/6031 )

Change subject: app_playback.c: Use the timezonename parameter
......................................................................

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
---
M apps/app_playback.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/apps/app_playback.c b/apps/app_playback.c
index e5df794..422dd8e 100644
--- a/apps/app_playback.c
+++ b/apps/app_playback.c
@@ -324,7 +324,7 @@
 	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,

-- 
To view, visit https://gerrit.asterisk.org/6031
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: I6afa98f9163190043244b9f3ba91eb1874d1b586
Gerrit-Change-Number: 6031
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Holger Hans Peter Freyther <automatic at freyther.de>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20170719/1699d83d/attachment-0001.html>


More information about the asterisk-commits mailing list