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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 5 22:03:03 UTC 2011


The following issue has been CLOSED 
====================================================================== 
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:                     closed
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:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-08-20 19:07 CDT
Last Modified:              2011-01-05 16:03 CST
====================================================================== 
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               
====================================================================== 
2011-01-05 16:03 lmadsen        Status                   feedback => closed  
======================================================================




More information about the asterisk-bugs mailing list