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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 23 12:58:09 CDT 2010


The following issue requires your FEEDBACK. 
====================================================================== 
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:                   tweak
Priority:                   normal
Status:                     feedback
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-23 12:58 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-23 12:58 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list