[asterisk-bugs] [Asterisk 0011002]: GMT offset not stored/reported correctly

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Oct 16 14:51:17 CDT 2007


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=11002 
====================================================================== 
Reported By:                jcmoore
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11002
Category:                   Core-General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             10-16-2007 14:09 CDT
Last Modified:              10-16-2007 14:51 CDT
====================================================================== 
Summary:                    GMT offset not stored/reported correctly
Description: 
The structure element tm->tm_gmtoff was not being correctly populated.  As
a result, strftime() prints dates without the correct GMT offset, ex: "Tue,
16 Oct 2007 12:25:04 +0000" even though the timezone is set as
"America/Chicago" and the offset is actually "-0500".

The attached patch sets this element in localsub() and strftime() now
reports dates with the correct GMT offset.
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 10-16-07 14:51  
---------------------------------------------------------------------- 
Committed, thanks. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-16-07 14:51  Corydon76      Note Added: 0072107                          
10-16-07 14:51  Corydon76      Status                   new => closed       
10-16-07 14:51  Corydon76      Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list