[asterisk-bugs] [Asterisk 0017898]: say_date_generic in app_playback.c ignores timezonename
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Aug 20 19:07:36 CDT 2010
The following issue has been SUBMITTED.
======================================================================
https://issues.asterisk.org/view.php?id=17898
======================================================================
Reported By: slimey
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17898
Category: Applications/app_playback
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.6.2.11
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-08-20 19:07 CDT
Last Modified: 2010-08-20 19:07 CDT
======================================================================
Summary: say_date_generic in app_playback.c ignores
timezonename
Description:
In say_date_generic() in app_playback.c, the final arguments to the
function is timezonename. The function calls ast_locatime() to get the
local time, but doesn't pass in timezonename (it passes in NULL), so any
specified timezone (e.g. in SayUnixTime) gets ignored.
Not done a patch because it's a trivial fix, but changing the NULL in the
call to ast_localtime to timezonename appears to do the right thing.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-08-20 19:07 slimey New Issue
2010-08-20 19:07 slimey Asterisk Version => 1.6.2.11
2010-08-20 19:07 slimey Regression => No
2010-08-20 19:07 slimey SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
======================================================================
More information about the asterisk-bugs
mailing list