mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-06 09:59:20 +00:00
Merge "app_playback.c: Use the timezonename parameter"
This commit is contained in:
@@ -322,7 +322,7 @@ static int say_date_generic(struct ast_channel *chan, time_t t,
|
|||||||
if (format == NULL)
|
if (format == NULL)
|
||||||
format = "";
|
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",
|
snprintf(buf, sizeof(buf), "%s:%s:%04d%02d%02d%02d%02d.%02d-%d-%3d",
|
||||||
prefix,
|
prefix,
|
||||||
format,
|
format,
|
||||||
|
|||||||
Reference in New Issue
Block a user