[Home]

Summary:ASTERISK-10547: GMT offset not stored/reported correctly
Reporter:Curt Moore (jcmoore)Labels:
Date Opened:2007-10-16 14:09:06Date Closed:2007-10-16 14:51:17
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) localtime_gmt_offset.diff.txt
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.
Comments:By: Tilghman Lesher (tilghman) 2007-10-16 14:51:17

Committed, thanks.