[asterisk-bugs] [Asterisk 0017898]: say_date_generic in app_playback.c ignores timezonename

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Aug 22 06:09:26 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
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-22 06:09 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0126216) pabelanger (manager) - 2010-08-22 06:09
 https://issues.asterisk.org/view.php?id=17898#c126216 
---------------------------------------------------------------------- 
While it maybe a trivial patch, please upload an svn diff.  Will help use
triage the issue along. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-22 06:09 pabelanger     Note Added: 0126216                          
======================================================================




More information about the asterisk-bugs mailing list